* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #FBF9F5;
}

.mobile-menu, .mobile-button, .mobile-overlay, .mobile-side-menu{
    display: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FBF9F5;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 23px 70px 53px 70px;
}

.logo img {
    width: 180px;
    height: 180px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;

    & a {
        text-decoration: none;
        color: #000000;
        transition: all 0.4s ease; 
        
        &:hover {
            color: #619CE9;
            transform: scale(1.05); 
        }
    }
}

.right-number {
    cursor: pointer;
    transition: all 0.4s ease;

    
     &:hover {
        color: #619CE9;
        transform: scale(1.05); 
        }
}

.hero {
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding: 0 70px;
    gap: 61px;
    justify-content: center;
    align-items: center;
}

.hero-text {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 968px;
    height: 284px;
}

.hero-preview {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-variant: medium;
    width: 344px;
    height: 72px;
    font-weight: 500;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 96px;
    font-variant: normal;
    height: 192px;
}

.text-inside {
    font: bold 20px 'Inter';
    text-transform: uppercase;
    text-align: center;
    color: white;
}

.top-side {
    display: flex;
    gap: 115px;
}

.hero-img {
    margin-bottom: 120px;
}

.windowcleanhero {
    background:
        linear-gradient(358.59deg, rgba(14, 65, 176, 0.064) 37.59%, rgba(0, 72, 150, 0.2) 105.46%),
        linear-gradient(90deg, rgba(0, 111, 255, 0.53) 0%, rgba(0, 111, 255, 0.53) 100%),
        url(../img/windowcleanhero.webp);
    background-size: 100% 120%;
    background-repeat: no-repeat;
    width: 1300px;
    height: 550px;
}

.services {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 1300px;
    margin: 0 auto;
}

.service {
    color: #CACACA;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    background-color: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 72px;
    font-weight: 400;
    padding: 20px 0;
    position: relative;
    transition: color 0.3s ease; 
}

.service.active {
    color: #000000;
    font-style: italic; 
}

.service.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #CACACA;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}
.service-svg {
    position: absolute;
    right: 0;
    z-index: 10;
    pointer-events: none; 
}

.service-svg foreignObject {
    pointer-events: auto;
}

.service-svg path {
    animation: rotateStar 10s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.service-svg foreignObject {
    animation: none !important;
}

.dropdown-content {
    display: none;
    margin: 0 auto 0 auto;
    width: 827px;
    height: 308px;
}

.content {
    background-color: #FBF9F5;
    margin-bottom: 120px;
    width: 1300px;
    margin: 0 auto;
}

.content-title {
    text-align: center;
    margin: 120px 0 0 0;
    text-transform: uppercase;
}

.content-title h1 {
    font-size: 20px;
    font-family: Inter, sans-serif;
    color: #CACACA;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.content-title p {
    font-size: 56px;
    font-weight: 500;
    color: #000000;
    font-family: 'Inter', sans-serif;
}

.advantages-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
}

.advantages-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
    background-color: #CACACA;
    transform: translateX(-50%);
    z-index: 1;
}

.advantage-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 200px;
    margin-bottom: 40px; 
}

.advantage-item:last-child {
    margin-bottom: 0; 
}

.advantage-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 17px;
    height: 17px;
    background-color: #D9D9D9;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.advantage-content {
    margin-left: 55%;
    align-items: center;
}

.advantage-text {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.advantage-text h2 {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    line-height: 1.3;
    text-transform: uppercase;
}

.advantage-image {
    flex-shrink: 0;
    width: 610px;
    height: 370px;
    overflow: hidden;
    margin-top: 30px;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #e0e0e0;
}

.video-container {
    margin: 0 auto;
    text-align: center;
    width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video-title {
    width: 980px;
    margin: 0 auto;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
    box-sizing: border-box;
    white-space: normal;
}

.video-wrapper {
    position: relative;
}

.video-wrapper video {
    width: 100%;
    height: 500px;
    transform: rotate(0deg);
    opacity: 1;
    display: block;

    object-position: top;
    object-fit: cover;
}

.outsourcing {
    margin: 120px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1300px;
}

.outsourcing-title {
    text-align: center;
    width: 100%;

}

.outsourcing-title h1 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 56px;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 500;
}

.outsourcing-content {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 594px 650px;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
}

.outsourcing-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.outsourcing-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.outsourcing-item h2 {
    color: #CACACA;
    font-size: 56px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-width: 80px;
}

.outsourcing-item p {
    color: #000;
    font-size: 20px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
}

.outsourcing-image {
    width: 650px;
    height: 745px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outsourcing-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners {
    margin: 120px auto;
    display: block;
    width: 100vw;
    height: 610px;
}

.partners-title {
    width: 1300px;
    height: 204px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    & h1 {
        display: flex;
        justify-content: center;
        font-size: 20px;
        font-family: 'Inter', sans-serif;
        color: #CACACA;
        text-transform: uppercase;
    }

    & p {
        width: 1300px;
        margin: 40px auto;
        font-size: 56px;
        text-align: center;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        color: #000000;
        text-transform: uppercase;
    }
}

.partners-carousel {
    margin: 80px 0;
    width: 100vw;
    height: 260px;
    background-color: #E8F3FC;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

.partners-track {
    display: flex;
    align-items: center;
    animation: carousel 50s linear infinite;

}

.partners-carousel a {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.partners-carousel img {
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partners-carousel a:hover img {
    transform: scale(1.05);
}


.partners-carousel a:nth-child(1) img {
    width: 350px;
    height: 91px;
    margin-right: 80px;
}

.partners-carousel a:nth-child(2) img {
    width: 390px;
    height: 135px;
    margin-right: 123px;
}

.partners-carousel a:nth-child(3) img {
    width: 318px;
    height: 169px;
    margin-right: 130px;
}

.partners-carousel a:nth-child(4) img {
    width: 135px;
    height: 184px;
    margin-right: 80px;
}


.partners-carousel a:nth-child(5) img {
    width: 350px;
    height: 91px;
    margin-right: 80px;
}

.partners-carousel a:nth-child(6) img {
    width: 390px;
    height: 135px;
    margin-right: 123px;
}

.partners-carousel a:nth-child(7) img {
    width: 318px;
    height: 169px;
    margin-right: 130px;
}

.partners-carousel a:nth-child(8) img {
    width: 135px;
    height: 184px;
    margin-right: 80px;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px - 390px - 318px - 135px - 80px - 123px - 130px - 80px));
    }
}

.contacts-title {
    width: 1300px;
    height: 204px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;

    & h1 {
        display: flex;
        justify-content: center;
        font-size: 20px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        color: #CACACA;
        text-transform: uppercase;

    }

    & p {
        width: 1300px;
        margin: 40px auto;
        font-size: 56px;
        text-align: center;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        color: #000000;
        text-transform: uppercase;
    }
}

.contacts-info {
    position: relative;
    margin: 120px auto 80px auto;
    width: 1300px;
    height: 358px;
    display: flex;
    flex-direction: column;
    background-color: #F1F1F1;
    gap: 40px;
    padding: 60px 0 60px 60px;

    & .info-item {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    & h1 {
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-weight: 500;
        text-transform: uppercase;
        color: #CACACA;
    }

    & .info-p {
        font-family: 'Inter', sans-serif;
        font-size: 48px;
        font-weight: bold;
        text-transform: uppercase;
        color: #000000;

    }
}

.contacts-button {
    position: absolute;
    right: 0;
    bottom: 20%;
}

.footer {
    width: 100vw;
    height: 314px;
    background-color: #000000;
    margin-top: 120px;
    position: relative;
    box-sizing: border-box;
}

.footer-content {
    padding: 46px 70px 0 70px;
    display: flex;
    align-items: center;
}

.left-side {
    display: flex;
    width: 513px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: auto;
    & a {
        color: #FFFFFF;
        text-transform: uppercase;
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-weight: 500;
        text-decoration: none;
    }
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: auto;

    & p {
        color: #FFFFFF;
        font-family: 'Inter', sans-serif;
        font-size: 36px;
        font-weight: 500;
        text-transform: uppercase;
        margin: 0;
        text-align: right;
    }
}

.footer-line {
    width: calc(100% - 140px);
    height: 1px;
    background-color: #4F4F4F;
    position: absolute;
    bottom: 100px;
    left: 70px;
}

.footer-privacy {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);

    & a {
        color: #FFFFFF;
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        text-decoration: none;
        text-transform: uppercase;
    }
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #151515E5;
}

.modal-order {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #FBF9F5;
  width: 1106px;
  padding: 60px 80px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  font-family: 'Inter', sans-serif;
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 30px;
}

.modal-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
  color: #CACACA;
  margin-bottom: 60px;
}

.input-group {
  margin-bottom: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-field {
  width: 652px;
  border: none;
  border-bottom: 1px solid #000;
  padding: 10px 0;
  font-size: 28px;
  background: transparent;
  outline: none;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.input-field::placeholder {
  color: #CACACA;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.submit-btn {
  background-color: #619CE9;
  color: white;
  border: none;
  width: 652px;
  height: 50px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  gap: 0;
}

.submit-btn span {
  display: inline-block;
  vertical-align: middle;
}

.submit-btn svg {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px; 
}

.submit-btn:hover {
  background-color: #4a85d3;
}

.header .right-number a {
    color: #000000 !important;
    text-decoration: none !important;
}

.header .right-number a:hover {
    color: #619CE9 !important;
    text-decoration: none !important;
}

.contacts-info .info-p a {
    color: #000000 !important;
    text-decoration: none !important;
}

.contacts-info .info-p a:hover {
    color: #000000 !important;
    text-decoration: none !important;
}

.footer-contacts a {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.footer-contacts a:hover {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.mobile-side-menu .right-number a {
    color: #000000 !important;
    text-decoration: none !important;
}

.mobile-side-menu .right-number a:hover {
    color: #619CE9 !important;
    text-decoration: none !important;
}
.services svg path,
.contacts-button svg path,
.hero-label svg path {
    animation: rotateStar 20s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
    cursor: pointer;
}

.services svg foreignObject,
.contacts-button svg foreignObject, 
.hero-label svg foreignObject {
    animation: none !important;
    cursor: pointer;
}

@keyframes rotateStar {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}