/*!
* v.1.0.
* Содержит reset и базовые стили 2026
*/

*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
textarea {
  resize: vertical;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Sofia Sans", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 {
  font-size: 64px;
  line-height: 80px;
}
h2 {
  font-size: 48px;
  line-height: 48px;
}
:focus-visible {
  outline: 2px solid #007AFF;
  outline-offset: 3px;
}
button, a, input, select, textarea, svg path, svg circle {
  transition: all 0.2s ease;
}
/* Мои стили */
/* Только для screen reader - для скрытых label */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}



/* Разметка страницы */
body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    background-color: #111111;
    color: #ffffff;
}
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content {
  flex: 1;
  min-height: 0; /* Предотвращает layout shift */
}
.container {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 20px;
    max-width: 1380px;
}

/*-- Разметка страницы --*/
.site-header {
    height: 80px;
    background-color: #0f0f0f;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.site-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 213px;
    height: 40px;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ffffff1a;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.site-callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 213px;
    height: 40px;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #a28d53;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    font-family: Inter;
text-transform: uppercase;

}

.site-nav-item a {
    line-height: 1;
    text-transform: uppercase;
    color: #7c7c7c;
    transition: color 0.25s ease;
}

.site-nav-item a:hover {
    color: #ffffff;
    opacity: 1;
}

/* Hamburger — скрыт на десктопе */
.site-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* ≤ 1024px: прячем nav из шапки, показываем гамбургер */
@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
    line-height: 48px;
  }
    .site-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #0f0f0f;
        padding: 24px 15px 32px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .site-menu-toggle {
        display: inline-flex;
    }
}

/* Tablet and smaller */
@media (max-width: 768px) {
  body {
    font-size: 12px;
    line-height: 22px;
  }
    .site-nav-list {
        gap: 20px;
    }

    .site-header-actions {
        gap: 12px;
    }
}

@media (max-width: 640px) {
  h1 {
    font-size: 32px;
    line-height: 100%;
  }
  .site-header {
    height: 50px;
  }
  .site-nav {
    top: 50px;
  }
  .site-header .container {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  
  .site-header img,
  .site-header picture,
  .site-header svg {
    width: 100%;
    height: 24px;
  }
  .site-socials {
    gap: 10px;
  }
  
  .site-phone-link {
    position: absolute;
    left: 20px;
    top: 60px;
        width: 150px;
  }
  .site-callback-btn {
    position: absolute;
    right: 20px;
    top: 60px;
            width: 150px;

  }
}