/* manrope-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/manrope-v20-cyrillic_latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/manrope-v20-cyrillic_latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.color-accent {
  color: var(--color-accent);
}

body {
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

::placeholder {
  color: #666;
}

::selection {
  background-color: #333;
  color: #fff;
}

input,
textarea {
  outline: none;
}

input:focus:required:invalid,
textarea:focus:required:invalid {
  border-color: red;
}
input:required:valid,
textarea:required:valid {
  border-color: green;
}

*,
::after,
::before {
  box-sizing: border-box;
}

a {
  transition: all 0.15s ease;
}

.uk-border {
  border: 1px solid var(--border-color);
}

.uk-button-default {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.lazy {
  opacity: 0;
  transition: opacity 0.15s;
}

.lazy.loaded {
  opacity: 1;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.icon {
  height: 1em;
  vertical-align: -0.125em;
  max-width: inherit;
}

.icon-1_5x {
  height: 1.5em;
  vertical-align: -0.25em;
  max-width: inherit;
}

.icon-2x {
  height: 2em;
  vertical-align: -0.25em;
  max-width: inherit;
}

.svg-inline--fa {
  height: 1em;
}

.header {
  padding: 15px 0;
  background-color: #fff;
  /* border-bottom: 1px solid var(--border-color); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.uk-sticky .logo a {
  font-size: 123px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-color);
  line-height: 1;
  transition: all 0.5s ease;
  display: block;
}

.uk-sticky.uk-sticky-below-main .logo a {
  font-size: 53px;
}

.desktop-menu a {
  text-transform: uppercase;
}

.desktop-menu .uk-navbar-nav > li > a {
  letter-spacing: 1px;
}

.hero-section {
  /* Фолбэк для старых браузеров */
  min-height: 100vh;
  /* Современное решение — svh не даёт вылезти за пределы 
       даже когда адресная строка видна */
  min-height: 100svh;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 400;
}

.section-label::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.footer-logo {
}

.footer-logo img {
  width: 80px;
}

.scroll-down {
  cursor: pointer;
  padding: 20px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.scroll-down:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.scroll-down svg {
  width: 24px;
  height: 24px;
  color: #222;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.7;
  }
}

.uk-navbar-nav > li > a {
  /* text-transform: none; */
}

.uk-button {
  text-transform: none;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links svg {
  color: inherit;
  font-size: 1.5rem;
  transition: color 0.15s ease;
}

.social-link {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
  color: #222;
}

footer .social-link {
  justify-content: center;
}

.footer .social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer .social-link:hover svg {
  color: #fff;
}

footer.uk-light .uk-h4,
footer.uk-light .uk-h5 {
  color: #ddd;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stat-grid.is-visible .stat-item {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  padding: 20px 28px 20px 0;
  border-top: 1px solid #e0ddd6;
  text-align: center;
}

.stat-item:nth-child(even) {
  padding-left: 28px;
  padding-right: 0;
  border-left: 1px solid #e0ddd6;
}

.stats-column {
  border-bottom: 1px solid #e0ddd6;
}

.stat-num {
  font-size: 50px;
  font-weight: 200;
  color: #1a1917;
  line-height: 1;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9e9b94;
  margin-top: 8px;
}

.about-stat-item--bottom {
  border-bottom: 1px solid #e0ddd6;
}

.service-item {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.service-item .service-description {
  color: #eee;
  max-width: 250px;
}

.service-item .service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.service-item .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item:hover .service-img {
  transform: scale(1.1);
}

.service-item .service-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.service-title h3 {
  position: relative;
  padding-bottom: 20px;
}

.service-title h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 1px;
  background-color: #999;
}

.service-item a .projects-section__arrow {
  position: relative;
  text-decoration: none;
  color: inherit;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--inverse-color);
}

.service-item a .projects-section__arrow:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #eee;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.step-icon svg {
  font-size: 50px;
  color: #666;
}

.home-request-form .uk-form-icon {
  position: absolute;
  top: 17px;
  bottom: 0;
  left: 0;
  width: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: start;
  color: #888;
}

.home-request-form .uk-form-icon:not(.uk-form-icon-flip) ~ .uk-textarea {
  padding-left: 40px !important;
}

.uk-form-large:is(.uk-input, .uk-search-input, .uk-select, .uk-textarea) {
  font-size: 1rem;
}

/* ─── Карточка проекта ─── */
.project-card {
  color: #ffffff;
  text-decoration: none;
}

.project-card:hover {
  color: #ffffff;
}

/* Изображение карточки */
.project-card__image {
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  object-fit: cover;
  display: block;
  /* плавное масштабирование при hover */
  transition: transform 0.4s ease;
  aspect-ratio: 3 / 2;
}

.project-card:hover .project-card__image img {
  transform: scale(1.04);
}

/* Площадь выровнена по правому краю и по низу */
.project-card__area {
  white-space: nowrap;
  padding-left: 16px;
}

.uk-slidenav svg {
  width: 20px;
}

.contact-info-card__icon {
  background-color: #eee;

  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-align: center;
}

.contact-page .social-link {
  color: inherit;
  transition: opacity 0.3s ease;
}

.contact-page .social-link:hover {
  opacity: 0.8;
}

.contact-page .social-link svg {
  width: 30px;
  height: 30px;
}

.uk-form-label {
  font-weight: 700;
}

.project-image img {
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

.uk-tab > * > a {
  column-gap: 0.45em;
  padding: 5px 0px;
  color: var(--color-muted);
}

.uk-offcanvas a.social-link {
  padding: 0;
  width: auto;
  height: auto;
}

@media (max-width: 1600px) {
  .header .logo a {
    font-size: 100px;
  }

  .uk-navbar-nav {
    gap: 30px;
  }
}

@media (max-width: 1400px) {
  .header.uk-sticky .logo a {
    font-size: 53px;
  }

  .uk-navbar-nav {
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .header.uk-sticky .logo a {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .header.uk-sticky .logo a {
    font-size: 40px;
  }
}
