*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}


html{
  width:100%;
  overflow-x:hidden;
}

body{
  width:100%;
  overflow-x:hidden;
  position:relative;
}

.header{
  width:100%;
  height:90px;
  padding:22px 80px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  overflow:visible;
  position:fixed;
  top:0;
  left:0;
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  z-index:100;
  transition:.3s ease;
}

@media (min-width:901px){

  .header.scrolled{
    height:70px;
    padding:12px 80px;
    background:rgba(255,255,255,.92);
  }

}

.logo{
  position:relative;
}

.logo img{
  height:180px;
  width:auto;
  position:relative;
  top:15px;
}

.menu{
  display:flex;
  gap:32px;
}

.menu a{
  text-decoration:none;
  color:black;
  font-size:15px;
  position:relative;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:black;
  transition:.3s;
}

.menu a:hover::after{
  width:100%;
}

button{
  position:relative;
  overflow:hidden;

  padding:14px 30px;
  border:none;
  border-radius:999px;
  background:black;
  color:white;
  font-size:15px;
  font-weight:700;
  cursor:pointer;

  transition:
    transform .3s,
    box-shadow .3s;

  box-shadow:0 12px 25px rgba(0,0,0,.15);
}

button::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:80%;
  height:100%;

  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );

  transition:.7s;
}

button:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(0,0,0,.25);
}

button:hover::before{
  left:140%;
}

.hero{
  min-height:100vh;
  padding:90px 80px 60px;
  display:grid;
  grid-template-columns:0.7fr 1.3fr;
  gap:30px;
  align-items:center;
}

.label{
  font-size:14px;
  letter-spacing:4px;
  font-weight:bold;
  margin-bottom:28px;
}

.content{
  transform:translateY(-50px);
}

.content h1{
  font-size:75px;
  line-height:1.05;
  margin-bottom:28px;
}

.description{
  font-size:21px;
  color:#444;
  max-width:620px;
  margin-bottom:34px;
}

.hero-points{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:34px;
}

.hero-points span{
  display:flex;
  align-items:center;
  padding:12px 20px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  font-size:14px;
  font-weight:600;
  box-shadow:
      0 8px 20px rgba(0,0,0,.04),
      inset 0 1px 0 rgba(255,255,255,.8);
  transition:.3s;
}

.hero-points span:hover{
  transform:translateY(-2px);
  box-shadow:
      0 15px 30px rgba(0,0,0,.08),
      inset 0 1px 0 rgba(255,255,255,.9);
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:24px;
}

.call-link{
  position:relative;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;
  color:white;
  background:black;

  padding:18px 40px;
  border-radius:999px;

  font-size:15px;
  font-weight:600;

  transition:.3s;
}

.call-link::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;

  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );

  transition:.7s;
}

.call-link:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 40px rgba(0,0,0,.25);
}

.call-link:hover::before{
  left:150%;
}

.rating{
  margin-top:36px;
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:14px 18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  background:rgba(255,255,255,.85);
  box-shadow:0 14px 35px rgba(0,0,0,.07);
  backdrop-filter:blur(12px);
  transition:.3s;
}

.rating:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.google-badge{
  width:48px;
  height:48px;
  border-radius:50%;
  background:white;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  flex-shrink:0;
}

.google-badge img{
  width:28px;
  height:28px;
}

.rating-info{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.stars{
  color:#fbbc04;
  font-size:20px;
  line-height:1;
  letter-spacing:2px;
  margin-bottom:5px;
}

.rating-text strong{
  display:block;
  font-size:16px;
  font-weight:700;
}

.rating-text span{
  display:block;
  color:#777;
  font-size:13px;
}

@keyframes glowStars{
  0%{
    text-shadow:0 0 0 rgba(251,188,4,0);
  }

  50%{
    text-shadow:
      0 0 8px rgba(251,188,4,.5),
      0 0 16px rgba(251,188,4,.25);
  }

  100%{
    text-shadow:0 0 0 rgba(251,188,4,0);
  }
}

.stars{
  animation:glowStars 3s ease-in-out infinite;
}



.hero-image{
  position:relative;
}

.hero-image img{
  width:115%;
}

.hero-image::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:35%;
  height:100%;
  z-index:2;
  background:linear-gradient(
      to right,
      white 0%,
      rgba(255,255,255,0.9) 20%,
      rgba(255,255,255,0.4) 60%,
      transparent 100%
  );
}

.hero-image::after{
  content:"";
  position:absolute;
  left:0;
  right:-30%;
  bottom:0;
  height:35%;
  background:linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.35) 35%,
    rgba(255,255,255,0.8) 70%,
    white 100%
  );
  z-index:2;
  pointer-events:none;
}

.services{
  padding:100px 80px;
  text-align:center;
}

.services h2{
  font-size:48px;
  margin-bottom:50px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:25px;
}

.service-card{
  position:relative;
  padding:42px 28px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:28px;
  background:linear-gradient(180deg, #fff, #f8f8f8);
  transition:.35s;
  overflow:hidden;
}

.service-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:black;
  transform:scaleX(0);
  transform-origin:left;
  transition:.35s;
}

.service-card:hover{
  transform:translateY(-10px);
  box-shadow:0 28px 60px rgba(0,0,0,.12);
}

.service-card:hover::before{
  transform:scaleX(1);
}

.service-card h3{
  font-size:22px;
  margin-bottom:14px;
}

.service-card p{
  color:#555;
  line-height:1.6;
  font-size:15px;
}

.before-after{
  width:100%;
  padding:10px 80px 120px;
  text-align:center;
}

.before-after .label{
  margin-bottom:12px;
}

.before-after h2{
  font-size:42px;
  margin-bottom:35px;
}

.ba-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.comparison{
  position:relative;
  height:420px;
  overflow:hidden;
  border-radius:22px;
  background:#eee;
  box-shadow:0 18px 45px rgba(0,0,0,.10);
  transition:.35s;
}

.comparison:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 65px rgba(0,0,0,.16);
}

.comparison img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

.comparison:hover img{
  transform:scale(1.04);
}

.after-wrap{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  z-index:2;
  clip-path:inset(0 50% 0 0);
}

.after-wrap img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.slider{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:ew-resize;
  z-index:10;
}

.slider-line{
  position:absolute;
  top:0;
  left:50%;
  width:2px;
  height:100%;
  background:white;
  z-index:5;
  box-shadow:0 0 15px rgba(0,0,0,.35);
}

.slider-button{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:42px;
  height:42px;
  background:white;
  color:black;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:bold;
  z-index:6;
  box-shadow:0 8px 25px rgba(0,0,0,.35);
}

.comparison::before{
  content:"BEFORE";
  position:absolute;
  left:16px;
  top:16px;
  z-index:7;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.75);
  color:white;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
}

.comparison::after{
  content:"AFTER";
  position:absolute;
  right:16px;
  top:16px;
  z-index:7;
  padding:7px 12px;
  border-radius:999px;
  background:white;
  color:black;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
}



/*footer */


.cta-footer{
    padding:10px 20px 60px;
    text-align:center;
    background:#fff;
}

.cta-footer h2{
    font-size:48px;
    margin-bottom:20px;
}

.cta-text{
    max-width:600px;
    margin:0 auto 35px;
    color:#666;
    font-size:18px;
}

.cta-button{
    display:inline-block;
    background:black;
    color:white;
    text-decoration:none;
    padding:18px 40px;
    border-radius:999px;
    font-weight:700;
    transition:.3s;
}

.cta-button:hover{
    transform:translateY(-3px);
}

.footer-contact{
    margin-top:40px;
}

.footer-contact p{
    margin:10px 0;
    color:#444;
}

.footer-bottom{
    margin-top:50px;
    padding-top:30px;
    border-top:1px solid rgba(0,0,0,.08);
    color:#888;
    font-size:14px;
}

.social-links{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:35px;
}

.social-links a{
    width:50px;
    height:50px;
    border-radius:50%;
    background:black;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:20px;
    transition:.3s;
}

.social-links a:hover{
    transform:translateY(-4px);
    background:#222;
}

.reveal{
  opacity:1;
  transform:none;
  transition:.4s ease;
}

.reveal.active{
  opacity:1;
}









/* мобильная версия */

@media (max-width: 900px){

.header{
    height:80px;
    padding:16px 22px;
    max-width:100%;
}

.logo img{
    height:120px;
    top:10px;
}

.menu{
    display:none;
}

.header button{
    padding:12px 18px;
    font-size:14px;
  }

.hero{
  position:relative;
  min-height:100vh;
  padding:130px 18px 60px;
  display:flex;
  align-items:flex-start;
  overflow:hidden;
}

.content{
  position:relative;
  z-index:3;
  transform:none;
  max-width:100%;
}

.content h1{
  font-size:38px;
  line-height:1.05;
  max-width:100%;
}

.description{
  font-size:18px;
  max-width:100%;
  margin-bottom:26px;
}
.hero-points{
  display:none;
}

  .hero-actions{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    max-width:100%;
  }

  .hero-actions .cta-button,
  .hero-actions .call-link{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px 40px;
}

  .rating{
    width:100%;
    max-width:100%;
    margin-top:180px;
  }

.hero-image{
  position:absolute;
  right:-80px;
  bottom:80px;
  width:520px;
  height:auto;
  z-index:1;
  opacity:.55;
  pointer-events:none;
}

.hero-image img{
  display:block;
  width:100%;
  height:auto;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.12));
}

.hero-image::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:2;
  pointer-events:none;

  background:
    linear-gradient(
      to bottom,
      white 0%,
      rgba(255,255,255,.9) 10%,
      transparent 25%
    ),
    linear-gradient(
      to top,
      white 0%,
      rgba(255,255,255,.9) 10%,
      transparent 25%
    );
}

.hero-image::after{
  display:none;
}

.services{
    padding:30px 10px 70px;
    max-width:100%;
}

  .services h2{
    font-size:34px;
    margin-bottom:32px;
  }

  .service-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

.before-after{
    padding:10px 22px 80px;
    max-width:100%;
}

  .before-after h2{
    font-size:34px;
  }

  .ba-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .comparison{
    height:280px;
  }

  .cta-footer{
    padding:0px 20px 40px;
}

.cta-footer h2{
    font-size:34px;
}

.cta-text{
    font-size:16px;
}

.floating-call{
    display:none;
}

@media (max-width:900px){

    .floating-call{
        display:flex;
        align-items:center;
        justify-content:center;

        position:fixed;
        right:20px;
        bottom:20px;

        width:65px;
        height:65px;

        border-radius:50%;

        background:black;
        color:white;

        text-decoration:none;
        font-size:28px;

        z-index:9999;

        box-shadow:0 15px 35px rgba(0,0,0,.25);

        transition:.3s;
        animation:phonePulse 2.5s infinite;
        position:fixed;
    }

    .floating-call::before{
    content:"";
    position:absolute;
    inset:-8px;
    border-radius:50%;
    border:1px solid rgba(0,0,0,.18);
    animation:ringPulse 2.5s infinite;
}

    .floating-call:hover{
        transform:scale(1.08);
    }

}

@keyframes phonePulse{

  0%{
    transform:scale(1);
  }

  50%{
    transform:scale(1.08);
  }

  100%{
    transform:scale(1);
  }

}

@keyframes ringPulse{
    0%{
        transform:scale(.9);
        opacity:.8;
    }

    100%{
        transform:scale(1.35);
        opacity:0;
    }
}

}