/*   
Theme Name: SiteFix_new
Theme URI: /
Description: тема организации SiteFix
Author: Artem
Author URI: /
Version: 1.0
.
Развёрнутое описание темы SiteFix здесь.
.
*/

	html,body{
		height: 100%;
	}
   body {
      margin: 0;
      font-family: 'Montserrat', sans-serif;
      background-color: #1E1B2E;
      color: #fff;
	  position: relative;
	  display: flex;
	  flex-direction: column;
    }

	.justify-center{
		position:absolute;
		right:0;
	}	
	.section-404 { 
		display:block;
	}
	main {
		flex: 1 0 auto;
	}

	footer {
		flex-shrink: 0;
	}
	  .seoMt {
		margin-top: 0;
		margin-bottom: 0;
		font-weight: normal;
	  }

	.bg-404{
		background:#292A3E;
	}
	.con404{
		margin: 0 auto;
		text-align: center
	}
	.title404{
		margin:0 auto;
		text-align:center;
		font-size:55px;
		font-weight: bold;
		color: transparent;
		background: linear-gradient(#C42371, #5A2599);
		background-clip: text;
	}
	.page__error__main__right__texts__headline{
		font-size:35px;
		color: #FFFFFF;
	}

	.justify-center{
		position:absolute;
		right:0;
	}	
	
	.border-button-404 {
        display: inline-block;
        background: transparent;
        border: 2px solid transparent;
        border-radius: 8px;
        padding: 14px 40px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;  
        background-image: linear-gradient(#292A3E, #292A3E), 
                          linear-gradient(90deg, #CB2370, #582499);
        background-origin: border-box;
        -webkit-background-clip: padding-box, border-box; 
        background-clip: padding-box, border-box;        
        transition: 0.3s;	
        position: relative;
        color: transparent;
        overflow: hidden;
		color: #fff;
    }
	.border-button-404:hover {
		background-image:linear-gradient(90deg, #CB2370, #582499);
	}

	.buttons-wrapper {
		display: flex;
		align-items: center;
	}
	.btn-fixed-size, 
	.border-button-phone {
		width: 130px;         
		text-align: center; 
		box-sizing: border-box; 
		height: 50px;         
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}
	.border-button {
		position: relative;
		color: transparent !important;
		border: 2px solid transparent !important;
		background-image: linear-gradient(#292A3E, #292A3E), 
						  linear-gradient(90deg, #CB2370, #582499);
		background-origin: border-box;
		background-clip: padding-box, border-box;
	}

	.border-button:hover {
		background-image: linear-gradient(90deg, #CB2370, #582499);
	}

	.btn-fixed-size::before {
		content: "Записаться";
		position: absolute;
		color: #fff;
		font-size: 14px;
		transition: 0.3s;
	}

	.btn-fixed-size:hover::before {
		content: "Отправить";
	}
	
	 @media (max-width: 1024px){
		.img-lap {
		   display: none;
		 }
	}
	
	.border-button-phone {
        display: inline-block;
        background: transparent;
        border: 2px solid transparent;
        border-radius: 8px;
        padding: 14px 40px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    
        background-image: linear-gradient(#292A3E, #292A3E), 
                          linear-gradient(90deg, #CB2370, #582499);
        background-origin: border-box;
        -webkit-background-clip: padding-box, border-box; 
        background-clip: padding-box, border-box;         
        
        transition: 0.3s;	
        position: relative;
        color: transparent;
        overflow: hidden;
    }
	.border-button-phone:hover {
		background-image:linear-gradient(90deg, #CB2370, #582499);
	}
	
    .reasons {
      margin: 0 auto;
      padding: 80px 40px;
      text-align: center;
	  background: #292A3E;
    }
	
    .reasons .four {
      font-size: 28px;
      font-weight: 600;
      color: #E0449F;
      margin-bottom: 10px;
	  color: transparent;
	  background: linear-gradient(#C42371, #5A2599);
	  background-clip: text;
    }

    .reasons h3 {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 60px;
    }

    .reasons-content {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 60px;
    }

	.reasons-list {
	  display: flex;
	  flex-direction: column;
	  gap: 60px;
	}

	.reasons-content .reasons-list:first-child {
	  align-items: flex-end;
	  text-align: right;
	}

	.reasons-content .reasons-list:last-child {
	  align-items: flex-start;
	  text-align: left;
	}


    .reason {
      max-width: 280px;
    }

    .reason h4 {
      font-size: 20px;
      font-weight: 700;
      color: #9C6CFF;
      margin-bottom: 12px;
    }

    .reason p {
      font-size: 16px;
      line-height: 1.5;
      font-weight: 400;
      color: #D6D6D6;
      margin: 0;
    }

    .reasons img {
      max-width: 320px;
      height: auto;
      display: block;
    }

    /* адаптив */
    @media (max-width: 992px) {
	.reasons-content {
		display: flex;
		flex-direction: column;
		grid-template-columns: 1fr; 
		gap: 40px;
	 }

	.reasons-list {
	   align-items: center !important; 
	   text-align: center !important;
	   gap: 30px;
	 }

	.reason {
		max-width: 100%;
	  }

	.reason-img {
	   display: flex;
	   justify-content: center;
	  }
	}
    .contact-section {
      margin: 0 auto;
      padding: 60px 20px;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 20px;
	  background: #292A3E;
	  justify-items: center;
    }

    .form-block {
      grid-column: span 6;
	  width: 400px;
    }

    .contacts-block {
      grid-column: span 6;
    }

    .form-title, .contacts-title {
      font-size: 28px;
      font-weight: 900;
      line-height: 1.4;
      margin-bottom: 30px;
	  text-align: center;
	  color: #fff;
    }

    .gradient {
      background: linear-gradient(90deg, #C42371 0%, #5A2599 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .form-box {
      border: 2px solid transparent;
	  border-radius: 12px;
	  background: linear-gradient(#292A3E, #292A3E) padding-box,
				  linear-gradient(90deg, #C42371, #5A2599) border-box;
	  padding: 30px;
	  width: 100%;
	  min-width: 400px;
	  min-height: 200px;
    }

.form-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.form-box textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  margin-bottom: 20px; 
  color: #fff;
  font-size: 15px;
  height: 80px; 
  resize: vertical; 
}
    .form-box input:focus, 
    .form-box textarea:focus {
		outline: none;
		border-bottom: 1px solid #ff3d8a;
    }
	
    .form-box .wpcf7-submit {
		 display: inline-block;
		 background: transparent;
		 border: 2px solid transparent;
		 border-radius: 8px;
		 padding: 12px 36px;
		 font-size: 14px;
		 font-weight: 700;
		 text-transform: uppercase;
		 cursor: pointer;
		 color: #fff;
		 background-image: linear-gradient(#292A3E, #292A3E),
							linear-gradient(90deg, #CB2370, #582499);
		 background-origin: border-box;
		 background-clip: padding-box, border-box;
		 transition: 0.3s;
	}

   .form-box .wpcf7-submit:hover {
	  background-image: linear-gradient(90deg, #CB2370, #582499);
	  color: #fff;
	}
	.form-box label {
	  color: #fff;
	}
	
	/*Оповещение при проблеме в отправке*/
	.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output{
		color: #fff;
	}
	
	.wpcf7 form .wpcf7-response-output {
		color: #fff;
	}
	
	/*Оповещение об успешной отправке*/
	.wpcf7 form.sent .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output{
	    color: #fff;
	}
	
	.contacts-block {
	  display: flex;
	  flex-direction: column;
	  justify-content: flex-start; 
	  gap: 30px;
	  width: 100%;
	  max-width: 500px;
	}

	.contacts-list a {
	  display: flex;
	  align-items: center;
	  gap: 12px;
	  color: #fff;
	  text-decoration: none;
	  transition: 0.3s;
	}

	.contacts-list a:hover {
	  color: #ff3d8a;
	}

	.contacts-block .disclaimer {
	  margin-top: auto; 
	  font-size: 12px;
	  line-height: 1.5;
	  color: #aaa;
	}

    .contacts-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
      font-size: 25px;
    }

    .contacts-list a {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #fff;
      text-decoration: none;
      transition: 0.3s;
    }

    .contacts-list a:hover {
      color: #ff3d8a;
    }

    .contacts-list img {
      width: 28px;
      height: 28px;
    }

    .block-spacing {
      margin-bottom: 40px;
    }

    .disclaimer {
      font-size: 12px;
      line-height: 1.5;
      margin-top: 20px;
      color: #aaa;
    }

    @media (max-width: 991px) {
      .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .form-block, .contacts-block {
        grid-column: span 1;
      }
      .form-title, .contacts-title {
        font-size: 22px;
        text-align: center;
      }
      .contacts-list {
        align-items: center;
      }
	  .form-block {
		width: 100%;
		max-width: 400px; 
		margin: 0 auto;  
  }

	.form-box {
		min-width: auto; 
		width: 100%;     
		}
    }
	.advantages {
      display: flex;
      gap: 30px; 
    }

    .advantage {
      color: #fff;
      font-size: 20px;
      font-weight: 600;
      display: flex;
      align-items: center;
    }

    .circle {
      width: 27px;
      height: 27px;
      border-radius: 50%;
      background: linear-gradient(135deg, #C62371, #592498);
      color: #fff;
      display: flex;
      justify-content: right;
      align-items: center;
      font-weight: 700;
      margin-right: -1px; 
      z-index: 1;
    }
	
	.reviews-section {
      max-width: 1200px;
      margin: 60px auto;
      text-align: center;
      padding: 0 20px;
    }
	 h2 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 40px;
    }
	.card-wrapper{
		max-width: 1100px;
		margin: 0 90px 35px;		
		padding: 20 10px;
		overflow: hidden;
	}
	.swiper-slide {
		display: flex;
		justify-content: center;
	}
	
	 .review-card {
		  width: 100%;              
		  max-width: 500px;         
		  min-height: 300px;
		  border: double 3px transparent;
		  border-radius: 16px;
		  transition: 0.3s;
		  background-origin: border-box;
		  background-clip: padding-box, border-box;
		  background-image: linear-gradient(#ffffff,#ffffff), radial-gradient(circle at top left, #FF3D77,#763DFE);
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		  text-align: left;
		  padding: 30px 10px 30px 30px;
		  box-sizing: border-box;
    }

    .review-card span {
      margin: 0 0 10px;
      font-size: 18px;
      font-weight: 700;
    }

    .review-card p {
      font-size: 14px;
      line-height: 1.5;
      color: #444;
    }

    .review-date {
      margin-top: 20px;
      font-size: 14px;
      color: #bbb;
    }
	.swiper-button-prev, .swiper-button-next {
		  background: #fff;
		  border: 1px solid #000;
		  width: 48px;
		  height: 48px;
		  border-radius: 50%;
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  margin: -50px 0 0px;
		}

	.swiper-button-prev::after,
	.swiper-button-next::after {
		  font-size: 18px;
		  color: #000;
    }
	.swiper-pagination-bullet{
		width:11px;
		height:11px;
		opacity: 0,5;
		background-image: linear-gradient(90deg, #CB2370, #582499);
	}
	.swiper-pagination-bullet-active{
		opacity: 1;
	}
	
	@media (max-width: 1024px) {
      .review-card {
        min-height: 260px;
      }
    }
	@media (max-width: 768px) {
      .review-card {
        min-height: 240px;
        padding: 15px;
      }

      h2 {
        font-size: 24px;
      }
    }
	 @media (max-width: 480px) {
      .review-card {
        min-height: 220px;
        padding: 10px;
      }

      .review-card h3 {
        font-size: 16px;
      }

      .review-card p {
        font-size: 13px;
      }

      h2 {
        font-size: 20px;
      }
	.advantages {
	  flex-direction: column;
    }
  }

@keyframes topBar_open {
	 0% {
		 transform: translateY(0px) rotate(0deg);
		 width: 100%;
	}
	 10% {
		 transform: translateY(-8px) rotate(0deg);
		 width: 100%;
	}
	 50% {
		 transform: translateY(7.5px) rotate(45deg);
		 width: 140%;
	}
	 75% {
		 transform: translateY(7.5px) rotate(45deg);
		 width: 140%;
	}
	 100% {
		 transform: translateY(7.5px) rotate(45deg);
		 width: 140%;
	}
}
 @keyframes bottomBar_open {
	 0% {
		 transform: translateY(0px) rotate(0deg);
		 width: 100%;
	}
	 10% {
		 transform: translateY(-8px) rotate(0deg);
		 width: 100%;
	}
	 60% {
		 transform: translateY(-7.5px) rotate(-45deg);
		 width: 140%;
	}
	 75% {
		 transform: translateY(-7.5px) rotate(-45deg);
		 width: 140%;
	}
	 100% {
		 transform: translateY(-7.5px) rotate(-45deg);
		 width: 140%;
	}
}
 @keyframes menuLabel_open {
	 0% {
		 transform: translateY(0px);
		 opacity: 1;
	}
	 25% {
		 transform: translateY(-18px);
	}
	 45% {
		 transform: translateY(44px);
		 opacity: 1;
	}
	 48% {
		 transform: translateY(50px);
		 opacity: 0;
	}
	 100% {
		 transform: translateY(30px);
		 opacity: 0;
	}
}
 @keyframes topBar_close {
	 0% {
		 transform: translateY(17px) rotate(45deg);
		 width: 140%;
	}
	 35% {
		 transform: translateY(-8px) rotate(-4deg);
		 width: 100%;
	}
	 53% {
		 transform: translateY(10px) rotate(3deg);
		 width: 100%;
	}
	 70% {
		 transform: translateY(-6px) rotate(0deg);
		 width: 100%;
	}
	 100% {
		 transform: translateY(-2px) rotate(0deg);
		 width: 100%;
	}
}
 @keyframes bottomBar_close {
	 0% {
		 transform: translateY(-8px) rotate(-45deg);
		 width: 140%;
	}
	 35% {
		 transform: translateY(-18px) rotate(6deg);
		 width: 100%;
	}
	 53% {
		 transform: translateY(0px) rotate(-3deg);
		 width: 100%;
	}
	 68% {
		 transform: translateY(-7px) rotate(0deg);
		 width: 100%;
	}
	 100% {
		 transform: translateY(0px) rotate(0deg);
		 width: 100%;
	}
}
 @keyframes menuLabel_close {
	 0% {
		 transform: translateY(30px);
		 opacity: 0;
	}
	 5% {
		 transform: translateY(25px);
		 opacity: 1;
	}
	 25% {
		 transform: translateY(-30px);
		 opacity: 1;
	}
	 37% {
		 transform: translateY(-22px);
		 opacity: 1;
	}
	 45% {
		 transform: translateY(-22px);
		 opacity: 1;
	}
	 58% {
		 transform: translateY(8px) rotate(-10deg);
		 opacity: 1;
	}
	 83% {
		 transform: translateY(-6px) rotate(0deg);
		 opacity: 1;
	}
	 100% {
		 transform: translateY(0px);
		 opacity: 1;
	}
}
 #menu-btn {
	 display: none;
	 background: none;
	 border: none;
	 font-size: 24px;
	 cursor: pointer;
	 order: 1;
	 text-align: center;
	 width: 50px;
	 height: 65px;
}
 #menu-btn:before, #menu-btn:after {
	 content: "";
	 width: 100%;
	 height: 6px;
	 background-color: #fff;
	 display: block;
	 position: absolute;
	 border-radius: 20px;
}
 #menu-btn:before {
	 transform-origin: left center;
}
 #menu-btn:after {
	 right: 0;
	 top: 15px;
	 transform-origin: right center;
}

 #menu-btn:hover {
	 cursor: pointer;
}
 #menu-btn.open:before {
	 animation: topBar_open 1s ease-in-out;
	 animation-fill-mode: forwards;
}
 #menu-btn.open:after {
	 animation: bottomBar_open 1s ease-in-out;
	 animation-fill-mode: forwards;
}
 #menu-btn.open .text {
	 animation: menuLabel_open 1s ease-in;
	 animation-fill-mode: forwards;
}
 #menu-btn.close:before {
	 animation: topBar_close 1s ease-in-out;
	 animation-fill-mode: forwards;
}
 #menu-btn.close:after {
	 animation: bottomBar_close 1s ease-in-out;
	 animation-fill-mode: forwards;
}
 #menu-btn.close .text {
	 animation: menuLabel_close 1s ease-in;
	 animation-fill-mode: forwards;
}
 .header {
    display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: #292A3E;
	position: relative;
}


 .nav {
	 display: flex;
	 gap: 60px;
}
 .nav a {
	 text-decoration: none;
	 color: #FFFFFF;
}
 @media (max-width: 768px) {
	 #menu-btn {
		 display: block;
		 position: relative;
		 z-index: 1001;
	}
	 #menu-btn .text {
	 top: 25px;
	 color: #fff;
	 font-family: "Candal", sans-serif;
	 display: block;
	 position: absolute;
	 bottom: 0;
	 font-size: 14px;
	 letter-spacing: 2.5px;
}
	 .nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 40%;
	    height: 100vh;
		background: #292a3e;
		transition: right 0.3s;
		z-index: 1000;
        flex-direction: column;
		gap: 15px;
		padding: 60px 20px 20px;
		 
	}
	 .nav.active {
		 right: 0;
	}
	 .nav a {
		 padding: 10px;
		 color: FFFFFF;
	}
}
 
  .modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); 
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #292A3E;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  color: #fff;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.law-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.law {
  max-width: 500px;
}

.law-column .law:first-child {
  text-align: left;
}

.law-column .law:last-child {
  text-align: right;
}

/* 📱 Адаптив */
@media (max-width: 768px) {
  .law-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .law {
    max-width: 100%;
    text-align: left;
  }

  .law-column .law:last-child {
    text-align: left;
  }
}

.phone-number {
  margin-left: auto;
  white-space: nowrap; 
}

@media (max-width: 768px) {
  .phone-number {
    display: none;
  }
}
 .telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 9999;
}

.telegram-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.telegram-float.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.telegram-float:hover {
    transform: scale(1.1);
}
.scroll-top-btn {
    position: fixed;
    bottom: 105px; 
    right: 30px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #CB2370, #582499);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 6px 20px rgba(0,0,0,0.3);

    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);

    transition: all 0.3s ease;

    z-index: 9999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-top-btn:hover {
    transform: scale(1.1);
}

.arrow-up {
    width: 16px;
    height: 16px;

    border-left: 4px solid #fff;
    border-top: 4px solid #fff;

    transform: rotate(45deg);
    margin-top: 6px;
}