

:root {
    --black: hsla(0, 100.00%, 0.00%, 1.00);
    --white: hsla(0, 0.00%, 100.00%, 1.00);
    --red: hsla(354.9532710280374, 86.29%, 48.63%, 1.00);
}
/* === RESET CSS === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 16px;
    background-color: #fff;
    color: #000;
    overflow-x: hidden;
}

body * {
    box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    border: none;
    background: none;
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}






body {
    font-size: clamp(14px, 1.2vw, 18px);
    /* адаптивний розмір */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    /* затемнение */
    backdrop-filter: blur(10px);
    /* сам блюр */
    -webkit-backdrop-filter: blur(10px);
    /* для Safari */
    color: white;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.header-inner img {
    width: 140px;
    object-fit: contain;
}



header .container {
    z-index: 2;
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}

.main-nav ul li a {
    text-transform: uppercase;
    transition: 0.3s;
}

.main-nav ul li a:hover {
    color: red;
}

.header-right-colum {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
}
.header-hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
}
.site-header {
    padding: 5px 0;
}
html {
  scroll-behavior: smooth;
}
.btn-outline {
    padding: 1vw;
    border: 1px solid white;
    border-radius: 60px;
    transition: 0.3s;
}

.btn.btn-outline:hover {
    border-color: red;
    background: red;
}

.free-call {
    background-image: linear-gradient(0deg, black 12%, #7c0913 72%, var(--red));
    color: #ffffff;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
}

.free-call .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.free-call__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.free-call__content {
    flex: 1 1 50%;
    max-width: 600px;
}

.free-call__title {
    margin-bottom: 30px;
    line-height: 1.2;

    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    text-align: left;
}

.free-call__desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ddd;
}

.free-call__btn {
    display: inline-block;
    background-color: #f00000;
    color: #fff;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-transform: uppercase;

}

.free-call__btn:hover {
    background-color: transparent;
    border-color: white;
}

.free-call__image {
    flex: 1 1 45%;
    text-align: right;
}

.free-call__image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.free-call__footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.free-call__footer-logo img {
    width: 120px;
    height: 55px;
}

.free-call__socials {
    display: flex;
    gap: 18px;
}

.free-call__social-link img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(1000%);
    transition: opacity 0.3s ease;
}

.free-call__social-link:hover img {
    opacity: 0.7;
}

.mob-menu-trigger {
    width: 25px;
    height: 25px;
    display: none;
    position: relative;
}

@media screen and (max-width: 1023px) {

    .site-header {
        padding: 2vh 0;
    }

    .mob-menu-trogger {
        display: inline-flex;
    }

    .header-right-colum .btn,
    .header-right-colum .main-nav {
        display: none;
    }

    .first-screen {
        background-position-x: center;
    }

    .free-call__title {
        font-size: 52px;
    }

    .free-call__btn {
        width: 100%;
        text-align: center;
    }

    .free-call__content {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

/* Скрыто по умолчанию */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: black;
    color: white;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 999;
    min-height: 100vh;
    text-align: center;
    transition: 0.6s;
}

.mobile-menu.active {
    right: 0;
    width: 100%;
}

.mob-menu-trigger {
    cursor: pointer;
    display: none;
}

.header-right-colum .mobile-menu.active .btn,
.header-right-colum .mobile-menu.active .main-nav {
    display: flex;
}

.header-right-colum .mobile-menu.active .nav-list {
    flex-direction: column;
}

.mobile-menu.active .btn.btn-outline {
    width: 100%;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    border: 1px solid white;
    transition: 0.3s;

}

.mobile-menu.active .btn.btn-outline:hover {
    border: 1px solid transparent;
    background-color: red;
    color: white;
}
.item-5 {
  position: absolute;
  right: 50px;
  top: 50px;
  width: 25px;
  height: 25px;
  &:before,
  &:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #fff;
    width: 100%;
    height: 2px;
    transition: height 0.2s ease-out;
    border-radius: 3px;
  }
  &:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  &:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  &:hover,
  &:focus {
    &:before,
    &:after {
      height: 4px;
    }
  }
}
@media (max-width: 1024px) {
    .mob-menu-trigger {
        display: block;
    }

    .main-header .main-nav,
    .main-header .btn {
        display: none;
    }
}

/* Для меню */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}



.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
}

.btn.btn-outline {
    border: 1px solid white;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu .btn.btn-outline:hover {
    background-color: white;
    color: black;
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    
}
@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

@media screen and (max-width: 520px) {
    .free-call__footer {
        flex-direction: column;
    }
}