@charset "UTF-8";
/* Global */
/* ------------------------------------ */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
  ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
  ========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
  margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
  margin: 0.67em 0;
  font-size: 2em;
}

/* Grouping content
  ========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/* Text-level semantics
  ========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
  background-color: transparent;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
  border-bottom: none; /* 1 */
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
  font-size: 1em; /* 2 */
  font-family: monospace, monospace; /* 1 */
}

/**
* Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
  ========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
  border-style: none;
}

/* Forms
  ========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  margin: 0; /* 2 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  font-family: inherit; /* 1 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
  /* 1 */
  text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/
legend {
  display: table; /* 1 */
  box-sizing: border-box; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  color: inherit; /* 2 */
  white-space: normal; /* 1 */
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
  vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type=search] {
  outline-offset: -2px; /* 2 */
  -webkit-appearance: textfield; /* 1 */
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button; /* 1 */
}

/* Interactive
  ========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
  display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
  display: list-item;
}

/* Misc
  ========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
  display: none;
}

/**
* Add the correct display in IE 10.
*/
[hidden] {
  display: none;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-ExtraLight.woff2") format("woff2"), url("/fonts/IBMPlexSans-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Light.woff2") format("woff2"), url("/fonts/IBMPlexSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #1d252d;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", "Arial", sans-serif;
  margin: 0;
  min-height: 100vh;
  padding: 0;
}

main {
  flex-grow: 1;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

a {
  color: #ffffff;
  text-decoration: none;
}

html, body {
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 1439px) {
  .container {
    max-width: 768px;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: 375px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

/* Blocks */
/* ------------------------------------ */
/* 1. Глобальные настройки */
:root {
  --accent: #007bff;
  --bg-dark: rgba(10, 10, 10, 0.95);
  --glass: blur(12px);
}

html {
  scroll-behavior: smooth;
}

/* 2. Шапка и Контейнер */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 3. Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo:hover {
  transform: scale(1.05);
}
.logo:hover .logo__img {
  filter: drop-shadow(0 0 12px var(--accent)) brightness(1.2);
  transform: rotate(-5deg);
}
.logo__img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}
.logo__text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo__text span {
  color: var(--accent);
}

/* 4. Навигация (Desktop) */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
}
.nav__link {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover::after {
  width: 100%;
}
.nav__dropdown {
  position: relative;
}
.nav__dropdown:hover .nav__link::after {
  width: 100%;
}
.nav__dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 5. Выпадающее меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  margin-top: 15px;
  padding: 15px 0;
  min-width: 260px;
  background: var(--bg-dark);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 110;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}
.dropdown-menu li {
  position: relative;
}
.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.dropdown-menu li a:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #fff;
  padding-left: 32px;
}
.dropdown-menu li a:hover::before {
  content: "›";
  position: absolute;
  left: 18px;
  color: var(--accent);
  font-size: 18px;
}
.dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 6. Кнопка и Контакты */
.btn--primary {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: auto;
}

.contacts-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  position: relative;
  transition: all 0.3s ease;
}
.header__phone::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.3s ease;
}
.header__phone:hover {
  filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.5));
}
.header__phone:hover::after {
  width: 100%;
}

.header__email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}
.header__email::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: width 0.3s ease;
}
.header__email:hover {
  color: #fff;
}
.header__email:hover::after {
  width: 100%;
}

/* 7. Бургер */
.burger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  z-index: 1000;
  cursor: pointer;
}
.burger span, .burger::before, .burger::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: all 0.3s ease;
  left: 0;
}
.burger::before {
  top: 0;
}
.burger span {
  top: 50%;
  transform: translateY(-50%);
}
.burger::after {
  bottom: 0;
}
.burger.active::before {
  transform: rotate(45deg);
  top: 9px;
}
.burger.active span {
  opacity: 0;
}
.burger.active::after {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* 8. Адаптивность */
@media (max-width: 1024px) {
  .header__inner {
    justify-content: space-between;
  }
  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    backdrop-filter: var(--glass);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 15px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
  }
  .nav.active {
    right: 0;
  }
  .nav__link {
    font-size: 16px;
    width: 100%;
    padding: 10px 0;
  }
  .nav__dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 5px 0 10px 20px;
    display: block;
    width: 100%;
  }
  .dropdown-menu li a {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: none;
  }
  .dropdown-menu li a:hover {
    padding-left: 10px;
    background: transparent;
  }
  .header__contacts {
    margin-top: auto;
    padding: 25px 0 0 0;
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .contacts-group {
    align-items: flex-start;
    gap: 8px;
  }
  .header__phone {
    font-size: 18px;
  }
  .header__email {
    font-size: 14px;
  }
  .btn--primary {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .logo__text {
    display: none;
  }
  .nav {
    max-width: 100%;
  }
}
.lang-switcher {
  position: relative;
  margin-left: 20px;
  z-index: 120;
}
.lang-switcher__btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.lang-switcher__btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}
.lang-switcher__btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}
.lang-switcher__btn:hover svg {
  transform: translateY(2px);
}
.lang-switcher__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--bg-dark);
  backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 6px 6px;
  list-style: none;
  padding: 5px 0;
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.lang-switcher:hover .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher:hover .lang-switcher__btn {
  background: rgba(0, 123, 255, 0.1);
}
.lang-switcher__link {
  display: block;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}
.lang-switcher__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}
@media (max-width: 1024px) {
  .lang-switcher {
    margin-left: 0;
    margin-bottom: 20px;
  }
  .lang-switcher__btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  .lang-switcher__dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 100px;
  color: #fff;
  background-color: #0a0a0a; /* Цвет фона, пока грузится картинка */
  overflow: hidden;
}

/* Упрощенный и надежный вариант для фона */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), url("../img/hero-bg.webp"); /* Сразу указываем WebP */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Для мобильных подставляем ЕЩЕ более легкую картинку */
@media (max-width: 768px) {
  .hero::before {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%), url("../img/hero-bg-mobile.webp");
  }
}
.hero .container {
  position: relative;
  z-index: 2; /* Выводит контент ПОВЕРХ фоновой картинки */
}

.hero__content {
  max-width: 850px;
  animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 25px;
}

.hero__subtitle::before {
  content: "";
  width: 40px;
  height: 2px;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero__title {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -1.5px;
}

.hero__title span {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
}

.hero__descr {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 50px;
  max-width: 650px;
  border-left: 3px solid rgba(0, 123, 255, 0.3);
  padding-left: 25px;
}

.hero__actions {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 35px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.btn--primary:hover {
  background-color: #0056b3;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.5);
}

.btn--outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.btn--outline:hover {
  border-color: var(--accent);
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--accent);
  transform: translateY(-5px);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
    text-align: center;
  }
  .hero__subtitle {
    justify-content: center;
  }
  .hero__subtitle::before {
    display: none;
  }
  .hero__descr {
    margin: 0 auto 40px;
    border-left: none;
    padding-left: 0;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
  gap: 10px; /* Расстояние между кнопками */
  margin-top: 30px;
  overflow-x: auto; /* Если экран совсем узкий, появится аккуратная прокрутка */
  padding-bottom: 5px;
}

.hero__actions .btn {
  flex: 1; /* Кнопки будут одинаковой ширины */
  white-space: nowrap;
  padding: 12px 15px;
  font-size: 14px;
  text-align: center;
}

/* Адаптив для маленьких телефонов */
@media (max-width: 480px) {
  .hero__actions {
    gap: 5px;
  }
  .hero__actions .btn {
    font-size: 11px; /* Уменьшаем шрифт, чтобы всё влезло */
    padding: 10px 5px;
  }
}
html {
  scroll-behavior: smooth;
}

.features {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: clamp(24px, 4vw, 36px); /* Адаптивный заголовок */
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.2;
}

.features__grid {
  display: grid;
  /* Оптимальная сетка: сама перестраивается без лишних медиа-запросов */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  position: relative;
  padding: 45px 40px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

/* Крупная фоновая цифра — визуальный якорь */
.feature-item__num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 123, 255, 0.04); /* Очень тонкий акцент */
  transition: all 0.4s ease;
  z-index: -1; /* Уходит под текст */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.feature-item__title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.feature-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Декоративная неоновая линия снизу */
.feature-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 -2px 10px rgba(0, 123, 255, 0.3);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Эффекты при наведении */
.feature-item:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.08);
}

.feature-item:hover .feature-item__num {
  color: rgba(0, 123, 255, 0.12);
  transform: translateY(5px) scale(1.05);
}

.feature-item:hover::after {
  width: 100%;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .features {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .features {
    padding: 60px 0;
  }
  .features__grid {
    gap: 20px;
  }
  .feature-item {
    padding: 35px 30px;
  }
  .feature-item__num {
    font-size: 60px;
  }
}
.top-wrapper {
  position: relative;
  background: url("../img/hero-bg.png") no-repeat center center;
  background-size: cover;
  color: #ffffff;
}
.top-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* --- FOOTER MAIN --- */
.footer {
  background-color: #1a1a1a;
  padding: 80px 0 40px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.footer__top {
  display: flex;
  justify-content: space-between; /* Распределяет 3 колонки по краям */
  gap: 30px;
  margin-bottom: 60px;
}

.footer__title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 25px;
}

/* --- КОЛОНКА 1: Контакты --- */
.footer__contacts {
  flex: 1;
}

.contacts-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer__location-info {
  margin-top: 20px;
  text-align: left;
}

/* --- КОЛОНКА 2: Навигация --- */
.footer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрируем навигацию на десктопе для баланса */
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #007bff;
}

/* --- КОЛОНКА 3: География (SEO) --- */
.footer__regions {
  flex: 1;
  text-align: right; /* Прижимаем к правому краю на десктопе */
}

.footer__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer__text strong {
  color: #fff;
}

/* --- SOCIAL ICONS --- */
.social-icons {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon--tg:hover {
  color: #0088cc !important;
  transform: translateY(-2px);
}

.social-icon--wa:hover {
  color: #25d366 !important;
  transform: translateY(-2px);
}

.social-icon--vb:hover {
  color: #7360f2 !important;
  transform: translateY(-2px);
}

/* --- FOOTER BOTTOM (Logo & Email) --- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer__logo {
  font-size: 40px;
  text-decoration: none;
  font-weight: 700;
}

.footer__logo span {
  color: #007bff;
}

.footer__big-email {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__big-email:hover {
  color: #007bff;
  text-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

/* --- MAP --- */
.footer__map {
  margin-top: 50px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__map iframe {
  display: block;
  filter: grayscale(0.4) contrast(1.1);
  transition: filter 0.5s ease;
}

.footer__map:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* --- COPYRIGHT & INFO --- */
.footer__copy, .footer__info {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  padding-top: 10px;
  line-height: 1.4;
}

/* --- АДАПТИВНОСТЬ (Mobile) --- */
@media (max-width: 991px) {
  .footer__top {
    gap: 20px;
  }
  .footer__big-email {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
  .footer__top {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 40px;
  }
  .footer__location-info,
  .footer__regions {
    text-align: center; /* Центрируем текст на мобилках */
  }
  .contacts-group {
    flex-direction: column;
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer__logo {
    margin-bottom: 10px;
  }
  .footer__nav {
    align-items: center;
  }
}
.map-placeholder {
  width: 100%;
  height: 300px;
  background-color: #2a2a2a;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("https://yandex.by/maps/10276/orsha/geo/1493231190/?ll=30.444367%2C54.501043&z=17");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.map-placeholder:hover {
  border-color: #007bff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://yandex.by/maps/10276/orsha/geo/1493231190/?ll=30.444367%2C54.501043&z=17");
}

.map-button {
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-text {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-text__services {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px; /* Оптимально для чтения текстовых карточек */
  margin: 0 auto;
}

.service-card {
  display: flex;
  gap: 25px;
  position: relative;
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  text-decoration: none; /* Если карточка будет ссылкой */
}

/* Эффект при наведении на карточку */
.service-card:hover {
  transform: translateX(10px);
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.08);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f7ff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: all 0.3s ease;
}

/* Ховер эффект иконки */
.service-card:hover .service-card__icon {
  background-color: var(--accent);
  transform: rotate(-5deg) scale(1.1);
}

.service-card:hover .service-card__icon svg {
  color: #ffffff;
}

.service-card__body {
  flex: 1;
}

.service-card__body h4 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Появляющаяся стрелочка (UX-тренд 2026) */
.service-card__body h4::after {
  content: "→";
  font-size: 22px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.3s ease;
}

.service-card:hover h4::after {
  opacity: 1;
  transform: translateX(0);
}

.service-card__body p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* Список внутри карточки */
.service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card__list li {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #eee;
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-text {
    padding: 60px 0;
  }
  .service-card {
    flex-direction: column; /* Иконка сверху на мобилках */
    padding: 30px;
    gap: 20px;
  }
  .service-card:hover {
    transform: translateY(-5px); /* На мобилках лучше вверх, чем вбок */
  }
  .service-card__body h4::after {
    display: none; /* Убираем стрелку на тач-устройствах */
  }
}
.service-card {
  text-decoration: none; /* Убираем стандартное подчеркивание ссылок */
  display: flex;
  flex-direction: row; /* Возвращаем горизонтальный вид */
  cursor: pointer;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card__footer {
  margin-top: auto;
  padding-top: 15px;
}

.service-card__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card__more::after {
  content: "→";
  transition: transform 0.3s ease;
}

/* Эффект при наведении на всю карточку */
.service-card:hover .service-card__more::after {
  transform: translateX(5px);
}

.service-card:hover h4 {
  color: var(--accent);
}

.faq {
  padding: 80px 0;
  background-color: #fcfcfc;
}

.faq__wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq__item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden; /* Важно для анимации */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item[open] {
  border-color: #007bff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.faq__question {
  padding: 22px 25px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #1a1a1a;
  display: block; /* Убираем дефолтную индикацию */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Кастомный плюс-минус с анимацией поворота */
.faq__question::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #007bff;
  transition: transform 0.4s ease;
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg); /* Плюс превращается в крестик */
  color: #ff4d4d; /* Опционально: меняем цвет при открытии */
}

/* Анимация контента через Grid */
.faq__answer-wrapper {
  display: grid;
  grid-template-rows: 0fr; /* Изначально высота 0 */
  transition: grid-template-rows 0.4s ease-out;
}

.faq__item[open] .faq__answer-wrapper {
  grid-template-rows: 1fr; /* Плавный переход к полной высоте контента */
}

.faq__answer {
  overflow: hidden; /* Чтобы текст не торчал при закрытом состоянии */
}

.faq__answer-content {
  padding: 0 25px 25px;
  color: #666;
  line-height: 1.7;
  font-size: 16px;
}

/* Убираем стандартные маркеры */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  margin-bottom: 15px;
  position: relative;
  /* Плавность для всех изменений */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}

/* Эффект при наведении на весь блок */
.faq__item:hover {
  transform: translateY(-3px) scale(1.01); /* Легкое всплытие и увеличение */
  border-color: rgba(0, 123, 255, 0.4); /* Цвет вашего бренда */
  background-color: #f8fbff; /* Едва заметный оттенок синего */
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.08), 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* Индикатор активности слева (появляется при ховере и открытии) */
.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #007bff, #00d4ff);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq__item:hover::before,
.faq__item[open]::before {
  transform: scaleY(1);
}

/* Анимация текста вопроса при ховере */
.faq__item:hover .faq__question {
  color: #0056b3; /* Текст становится чуть насыщеннее */
}

/* Анимация иконки плюс/минус при ховере */
.faq__item:hover .faq__question::after {
  transform: translateY(-50%) scale(1.2); /* Плюс немного пульсирует */
}

/* Если аккордеон открыт, убираем ховер-эффект всплытия, чтобы не дергалось */
.faq__item[open]:hover {
  transform: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

/* Внутренний отступ для вопроса, чтобы текст не прилипал к индикатору */
.faq__question {
  padding: 22px 30px 22px 35px; /* Увеличили левый отступ для полоски */
}

.faq__answer {
  padding: 0 10px;
}

/* --- ОСНОВНОЙ БЛОК --- */
.contact-form {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden; /* Защита от вылета теней за край экрана */
}

.contact-form__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.contact-form__content .section-title {
  text-align: left;
  margin-bottom: 25px;
  font-size: clamp(32px, 4vw, 48px);
}

.contact-form__content p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

.contact-form__content strong {
  color: var(--accent);
}

/* --- СТИЛИ ФОРМЫ --- */
.form {
  background: #ffffff;
  padding: 50px;
  border-radius: 24px;
  border: 1px solid #f0f4f8;
  box-shadow: 0 30px 60px rgba(0, 123, 255, 0.08);
  transition: transform 0.3s ease;
  width: 100%;
  box-sizing: border-box; /* Чтобы внутренние отступы не расширяли форму */
}

.form__group {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.form__input {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-size: 16px;
  color: #1a1a1a;
  transition: all 0.3s ease;
  outline: none;
  background: #fdfdfd;
  box-sizing: border-box; /* Критично для мобилок */
}

.form__input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.05);
}

.form__textarea {
  height: 140px;
  resize: none;
  margin-bottom: 10px;
}

/* --- ЗАГРУЗКА ФАЙЛА --- */
.file-label {
  display: block;
  margin-bottom: 30px;
  cursor: pointer;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  padding: 12px 20px;
  background: rgba(0, 123, 255, 0.05);
  border: 1px dashed var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form__btn {
  width: 100%;
  padding: 20px;
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
  cursor: pointer;
}

/* --- АДАПТИВНОСТЬ (MOBILE & TABLET) --- */
@media (max-width: 1024px) {
  .contact-form__inner {
    gap: 40px;
  }
  .form {
    padding: 40px;
  }
}
@media (max-width: 768px) {
  .contact-form {
    padding: 60px 0;
  }
  .contact-form__inner {
    grid-template-columns: 1fr; /* Одна колонка */
    text-align: center;
    gap: 30px;
  }
  .contact-form__content .section-title {
    text-align: center;
    margin-bottom: 15px;
  }
  .contact-form__content p {
    font-size: 16px;
    padding: 0 10px;
  }
  .form {
    padding: 30px 20px;
    border-radius: 16px;
    max-width: 100%;
  }
  .form__input {
    padding: 15px 20px;
  }
  .file-btn {
    width: 100%;
    justify-content: center; /* Центрируем кнопку файла */
    box-sizing: border-box;
  }
}
@media (max-width: 480px) {
  .contact-form {
    padding: 40px 0;
  }
  .form {
    padding: 25px 15px;
  }
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.portfolio-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1);
}

.portfolio-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 123, 255, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.portfolio-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #1a1a1a;
}

.portfolio-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.portfolio-card__actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Кнопки действий */
.portfolio-btn {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.portfolio-btn:hover {
  background: var(--accent);
  color: #fff;
}

.portfolio-link {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
  transition: all 0.3s;
}

.portfolio-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- МОДАЛЬНОЕ ОКНО (LIGHTBOX) --- */
.modal {
  position: fixed;
  inset: 0; /* Сокращение для top, left, right, bottom: 0 */
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.modal__content {
  position: relative;
  z-index: 2001;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.is-active .modal__content {
  transform: scale(1);
}

.modal__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal__close {
  position: absolute;
  top: -50px;
  right: -10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.modal__close:hover {
  opacity: 1;
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
  .modal__close {
    top: -45px;
    right: 0;
    font-size: 36px;
  }
  .portfolio-card {
    padding: 20px;
  }
}
.pricing-factors {
  padding: 100px 0; /* Увеличил отступ для баланса с другими секциями */
  background-color: #fcfcfc;
}

.factors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.factor-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Декоративный эффект "свечения" при наведении */
.factor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.factor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.2);
}

.factor-card:hover::before {
  transform: scaleX(1);
}

.factor-icon {
  font-size: 44px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
  display: inline-block;
  transition: transform 0.3s ease;
}

.factor-card:hover .factor-icon {
  transform: scale(1.15) rotate(5deg);
}

.factor-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.factor-text {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .pricing-factors {
    padding: 60px 0;
  }
  .factor-card {
    padding: 30px 20px;
  }
}
.hero-service {
  padding: 60px 0;
  background: #f8f9fa;
}

.hero-service h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-service__lead {
  font-size: 1.15rem;
  color: #555;
  max-width: 800px;
  margin-bottom: 30px;
}

.hero-service__badge {
  display: inline-block;
  padding: 10px 20px;
  background: #e7f3ff;
  color: #007bff;
  border-radius: 50px;
  font-weight: 600;
}

/* Сетка направлений */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.direction-item {
  padding: 30px;
  border-bottom: 2px solid #eee;
  transition: 0.3s;
}

.direction-item:hover {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.direction-item__number {
  color: #007bff;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 10px;
}

.direction-item h3 {
  display: inline;
  font-size: 1.4rem;
}

/* Карточки преимуществ */
.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.advantage-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.advantage-card h4 {
  color: #007bff;
  margin-bottom: 10px;
}

/* Общие */
.section-title {
  margin-bottom: 40px;
  font-size: 2rem;
  text-align: center;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #888;
}

.breadcrumbs a {
  color: #007bff;
  text-decoration: none;
}

.services-page {
  min-height: calc(100vh - 400px); /* Вычитаем примерную высоту хедера и футера */
  display: flex;
  flex-direction: column;
  gap: 80px; /* Создает равномерный зазор между всеми секциями (Hero, Details, Advantages) */
  padding-bottom: 100px; /* Огромный отступ перед футером */
}

/* 2. Секция Hero (добавляем отступ сверху, если хедер фиксированный) */
.hero-service {
  padding: 100px 0 60px; /* Увеличили верхний паддинг */
  background: #f8f9fa;
}

/* 3. Секция направлений (Details) */
.service-details {
  padding: 40px 0;
  /* Убираем лишние зазоры, если они есть */
}

/* 4. Секция преимуществ */
.advantages-light {
  padding: 40px 0;
  background: #ffffff;
}

/* 5. Уточнение для заголовков секций */
.section-title {
  margin-bottom: 50px; /* Увеличили отступ от заголовка до контента */
  font-size: 2.2rem;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #007bff;
  margin: 15px auto 0;
}

/* 6. Адаптивность для мобилок */
@media (max-width: 768px) {
  .services-page {
    gap: 50px;
    padding-bottom: 60px;
  }
  .hero-service {
    padding: 60px 0 40px;
  }
}
/* 1. Стилизация верхней части (Header + Главный Hero) */
.top-wrapper {
  background: #0a0a0a; /* Темный фон для контраста с белой страницей услуг */
  position: relative;
}

/* 2. Контейнер страницы услуг */
.services-page {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 100px;
  background: #fff;
  color: #333;
}

/* 3. Секция Hero для конкретной услуги */
.hero-service {
  padding: 80px 0 60px;
  background: #f8f9fa; /* Светло-серый фон для выделения */
  border-bottom: 1px solid #eee;
}

.hero-service .breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #888;
}

.hero-service .breadcrumbs a {
  color: #007bff;
  text-decoration: none;
}

.hero-service__badge {
  display: inline-block;
  padding: 6px 16px;
  background: #e7f3ff;
  color: #007bff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.hero-service h1 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-service__lead {
  font-size: 1.2rem;
  color: #555;
  max-width: 850px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* 4. Сетка направлений (Details) */
.section-title {
  margin-bottom: 50px;
  font-size: 2.2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #007bff;
  margin: 15px auto 0;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.direction-item {
  padding: 30px;
  background: #fff;
  border: 1px solid #eee;
  border-bottom: 3px solid #eee;
  transition: all 0.3s ease;
}

.direction-item:hover {
  border-color: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.direction-item__number {
  color: #007bff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-right: 10px;
}

.direction-item h3 {
  display: inline;
  font-size: 1.4rem;
  color: #222;
}

.direction-item p {
  margin-top: 15px;
  color: #666;
  line-height: 1.5;
}

/* 5. Карточки преимуществ */
.advantages-light {
  padding: 60px 0;
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.advantage-card {
  padding: 25px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  transition: 0.3s;
}

.advantage-card:hover {
  background: #fff;
  border-color: #007bff;
}

.advantage-card h4 {
  color: #007bff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-service h1 {
    font-size: 2.2rem;
  }
  .services-page {
    gap: 50px;
  }
}
@media (max-width: 768px) {
  .hero-service {
    padding-top: 40px;
  }
  .hero-service h1 {
    font-size: 1.8rem;
  }
  .direction-item {
    padding: 20px;
  }
}
.service-detail {
  padding: 80px 0 60px;
  background: #f8f9fa;
  color: #222;
  border-bottom: 1px solid #eee;
}
.service-detail__subtitle {
  display: inline-block;
  padding: 6px 16px;
  background: #e7f3ff;
  color: #007bff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 15px;
  text-transform: none;
}
.service-detail__title {
  font-size: clamp(28px, 5vw, 45px);
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.service-detail__text {
  max-width: 850px;
  line-height: 1.6;
  color: #555;
}
.service-detail__text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.service-detail__text h2 {
  font-size: 1.8rem;
  color: #222;
  margin: 40px 0 25px;
  position: relative;
  text-transform: none;
}
.service-detail__text h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff;
  margin-top: 10px;
}
.service-detail__text ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.service-detail__text ul li {
  padding: 25px;
  background: #fff;
  border: 1px solid #eee;
  border-bottom: 3px solid #eee;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 45px;
}
.service-detail__text ul li::before {
  content: "✔";
  position: absolute;
  left: 15px;
  top: 25px;
  color: #007bff;
  font-weight: 800;
}
.service-detail__text ul li strong {
  display: block;
  color: #222;
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.service-detail__text ul li:hover {
  border-color: #007bff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.service-detail__feature-box {
  margin-top: 50px;
  padding: 30px;
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.service-detail__feature-box h3 {
  margin-bottom: 12px;
  color: #007bff;
  font-size: 1.3rem;
}
.service-detail__feature-box p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #555;
}
.service-detail__actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.service-detail__actions .btn--outline {
  border: 1px solid #007bff;
  color: #007bff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
}
.service-detail__actions .btn--outline:hover {
  background: #007bff;
  color: #fff;
}
.service-detail__feature-box {
  margin-top: 50px;
  padding: 35px;
  background: #ffffff;
  border: 1px solid #eee;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.service-detail__feature-box::after {
  content: "CAD";
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 123, 255, 0.03);
  transform: rotate(-15px);
}
.service-detail__feature-box h3 {
  margin-bottom: 15px;
  color: #222;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-detail__feature-box h3::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #007bff;
}
.service-detail__feature-box p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.service-detail__feature-box p strong {
  color: #007bff;
  font-weight: 600;
}
.service-detail__feature-box:hover {
  border-color: #e0e0e0;
  border-left-color: rgb(0, 98.4, 204);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .service-detail {
    padding: 40px 0;
  }
  .service-detail__title {
    font-size: 1.8rem;
  }
  .service-detail__text p {
    font-size: 1rem;
  }
}/*# sourceMappingURL=style.css.map */