/*
 Theme Name: GeneratePress-Child
 Template: GeneratePress
 Version: 1.0
*/

* {
    font-family: 'Inter', sans-serif !important;
}

.site-header {
    position: relative;
    z-index: 99999 !important;
}

.main-navigation {
    position: relative;
    z-index: 999999 !important;
}

.main-navigation ul ul {
    z-index: 9999999 !important;
}

.main-navigation ul ul {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;

    width: 230px;

    background: #1c294a;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0,0,0,.25);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;



    z-index: 999999;
}


.main-navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


.main-navigation ul ul li a {
    color: #fff !important;
    padding: 12px 18px;
}


.main-navigation ul ul li a:hover {
    background: rgba(255,255,255,.1);
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  
  font-weight: bold !important;
}

.inside-header {
  padding: 20px 0px !important;
}

div.inside-navigation.grid-container {
  padding: 0px 0px 0px 20px !important;
  background: linear-gradient( 135deg, #0f172a 0%, #1e293b 100% );
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.main-navigation .menu-bar-item > a {
  padding-left: 20px;
  padding-right: 20px;
  line-height: 60px;
  background: #1B7ED1;
  border-radius: 20px 20px 20px 20px;
}

.main-navigation ul ul {
  width: 300px !important;
}

.gp-icon {
  display: inline-block;

}

.main-navigation .main-nav ul li a {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.menu-item-has-children .dropdown-menu-toggle {
  padding-right: 0px !important;
}

.topflex {
    display: flex;
}

.topflex svg {
width: 40px;
  padding: 5px 10px;
  min-height: 40px;
  min-width: 0px;
  margin: 0px 4px;
  background: #f0f0f0;
  border-radius: 100px;
}

.tlps {
display: flex;
  align-items: center;
  max-height: 40px;
  margin: 0px 0px 0px 20px;
  border: 0px solid;
  padding: 0px 10px;
  border-radius: 100px;
  
}

.tlps a {
 text-decoration:none;   
 font-weight:bold;
}


/* ОТЗЫВЫ */

.reviews-grid{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(350px,1fr));
	gap:24px;
	margin-top:40px;
}

.review-card{
	padding:24px;
	border:1px solid #e5e5e5;
	border-radius:12px;
	background:#fff;
}

.review-rating{
	font-size:20px;
	margin-bottom:10px;
}

.reviews-pagination{
	margin-top:40px;
	text-align:center;
}


/*ПОДВАЛ*/

.footer-links {
    font-size:14px;
}

.footer-links a {
    font-size:14px;
}

.site-footer{
    background:#111827;
    color:#fff;
    margin-top:0px;
    border-radius:25px;
    position:relative;
    overflow:hidden;
    max-width: 1200px;
  margin: 0 auto;
}

.site-footer::before{
    content:'';
    position:absolute;

    right:0;
    bottom:0;

    width:280px;
    height:280px;

    background:url('/wp-content/uploads/2026/03/cropped-logom-1.png') no-repeat;
    background-size:contain;
    background-position:right bottom;

    opacity:.12;

    pointer-events:none;
    z-index:1;
}

.site-footer > *{
    position:relative;
    z-index:2;
}

.site-footer a{
    color:#cbd5e1;
    text-decoration:none;
}

.site-footer a:hover{
    color:#fff;
}

.footer-top{
    max-width:1400px;
    margin:0 auto;
    padding:60px 40px;
    display:grid;
    grid-template-columns:6fr 3fr;
    gap:40px;
}

.footer-col h3{
    font-size:18px;
    margin-bottom:20px;
}

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

.footer-col li{
    margin-bottom:10px;
}

.footer-middle{
    border-top:1px solid rgba(255,255,255,.1);
    border-bottom:1px solid rgba(255,255,255,.1);
    padding:30px 20px;
    max-width:1400px;
    margin:auto;
}

.footer-cities{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:15px;
}

.footer-bottom{
    max-width:1200px;
    margin:auto;
    padding:25px 20px;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    font-size:14px;
}

.footer-links{
    display:flex;
    gap:20px;
}

/* Планшеты */

@media (max-width: 1024px){

    .footer-top{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }

    .footer-middle{
        padding:25px 20px;
    }

    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

}

/* Мобильные */

@media (max-width: 768px){

    .footer-top{
        grid-template-columns:1fr;
        gap:35px;
        padding:40px 20px;
    }

    .footer-col{
        padding-bottom:20px;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .footer-col:last-child{
        border-bottom:none;
        padding-bottom:0;
    }

    .footer-col h3{
        margin-bottom:15px;
        font-size:17px;
    }

    .footer-middle{
        padding:25px 20px;
    }

    .footer-middle h3{
        font-size:17px;
        margin-bottom:15px;
    }

    .footer-cities{
        gap:10px;
    }

    .footer-cities a{
        font-size:14px;
        padding:6px 10px;
        border-radius:6px;
        background:rgba(255,255,255,.05);
    }

    .footer-bottom{
        padding:20px;
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .footer-links{
        flex-direction:column;
        gap:10px;
    }

}

/* Маленькие телефоны */

@media (max-width: 480px){

    .site-footer{
        font-size:14px;
    }

    .footer-top{
        padding:30px 15px;
    }

    .footer-middle{
        padding:20px 15px;
    }

    .footer-bottom{
        padding:20px 15px;
    }

    .footer-logo img{
        max-width:180px;
        height:auto;
    }

    .footer-contacts a{
        display:block;
        margin-bottom:0px;
        word-break:break-word;
    }

}

@media (max-width:1024px){

    .site-footer::before{
        width:450px;
        height:450px;
        opacity:.06;
    }

}

@media (max-width:768px){

    .site-footer::before{
        width:280px;
        height:280px;
        right:-40px;
        bottom:-40px;
        opacity:.05;
    }

}