:root {
  --color-primary-900: #003a6b;
  --color-primary-800: #0f447a;
  --color-primary-700: #1a4e8a;
  --color-primary-600: #2563a6;
  --color-primary-500: #3b82f6;
  --color-primary-400: #60a5fa;
  --color-accent-500: #ff7a00;
  --color-accent-400: #ff9c40;
  --color-accent-300: #ffb366;
  --color-success: #00a86b;
  --color-warning: #ffdd00;
  --color-danger: #e34234;
  --color-dark-900: #1f1f23;
  --color-dark-700: #2b2f36;
  --color-dark-500: #3e4450;
  --color-gray-100: #f5f6f7;
  --color-gray-200: #e8eaed;
  --color-gray-300: #d1d5d9;
  --color-white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #1a4e8a 0%, #003a6b 100%);
  --gradient-hero-dynamic: linear-gradient(90deg, #1a4e8a 0%, #ff7a00 100%);
  --grad-btn: linear-gradient(90deg, #ff7a00 0%, #ff9c40 100%);
  --gradient-btn-primary: linear-gradient(90deg, #ff7a00 0%, #ff9c40 100%);
  --gradient-btn-primary-hover: linear-gradient(
    90deg,
    #ff9c40 0%,
    #ff7a00 100%
  );
  --gradient-btn-secondary: linear-gradient(90deg, #1a4e8a 0%, #2563a6 100%);
  --radius-lg: 32px;
  --radius-md: 20px;
  --anim-duration: 1.2s;
  --anim-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --white: #fff;
  --r-sm: 10px;
}

@font-face {
  font-family: "Light";
  src: url("../fonts/Gilroy-Light.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Regular";
  src: url("../fonts/Gilroy-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Medium";
  src: url("../fonts/Gilroy-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Heavy";
  src: url("../fonts/Gilroy-Heavy.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Bold";
  src: url("../fonts/Gilroy-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Black";
  src: url("../fonts/Gilroy-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}

* {
  box-sizing: border-box;
  font-family: "Regular";
  outline: none;
  font-size: 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
body {
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.35s ease;
  overflow: visible;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.35s ease;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  display: block;
  margin: 0 auto;
  height: 30px;
  width: auto !important;
  transition: transform 0.4s ease;
}
.logo:hover img {
  transform: scale(1.05);
}
.logo .company-name {
  display: block;
  text-align: left !important;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
}
.nav-menu > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}
.nav-menu > ul > li > a {
  color: var(--color-primary-700);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.25s ease;
  position: relative;
  padding: 8px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active {
  color: var(--color-accent-500);
  background: rgba(255, 122, 0, 0.06);
}

.nav-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-menu .dropdown:hover > a .nav-arrow {
  transform: rotate(-135deg) translateY(2px);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none !important;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 680px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 22px 16px 16px 16px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6), 0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-btn-primary);
  border-radius: 0 0 3px 3px;
}

.dropdown-content::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #12253f;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 1025px) {
  .dropdown:hover .dropdown-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 3px 14px;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.dropdown-content.align-left {
  left: 0 !important;
  right: auto !important;
  transform: translateY(0) !important;
}
.dropdown-content.align-left::after {
  left: 60px;
}
.dropdown-content.align-right {
  left: auto !important;
  right: 0 !important;
  transform: translateY(0) !important;
}
.dropdown-content.align-right::after {
  left: auto;
  right: 60px;
}

.dropdown-content > li {
  margin: 0;
  position: relative;
  list-style: none;
}

[data-fancybox="gallery-photo"] {
  position: relative;
}
.dropdown-content > li > a {
  display: flex;
  align-items: center;
  padding: 9px 12px 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(0, 0, 0, 1) !important;
  border-radius: 10px;
  white-space: nowrap;
  gap: 10px;
}

.dropdown-content > li > a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.45);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.dropdown-content > li > a:hover {
  background: rgba(255, 122, 0, 0.13);
  color: rgba(0, 0, 0, 1) !important;
}
.dropdown-content > li > a:hover::before {
  background: var(--color-accent-500);
  transform: scale(1.5);
}

.sub-indicator {
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-accent-400);
  opacity: 0.75;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-level-2 > li.has-children:hover > a .sub-indicator {
  transform: translateX(3px);
  opacity: 1;
}

.menu-level-3 {
  display: none !important;
  position: absolute;
  top: -8px;
  left: calc(100% + 1px);
  min-width: 230px;
  max-width: 280px;
  background: linear-gradient(145deg, #0f1f34 0%, #081527 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 10px 8px;
  z-index: 1001;
  list-style: none;
}
.menu-level-3::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -7px;
  width: 14px;
  height: 14px;
  background: #0f1f34;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transform: rotate(45deg);
}
@media (min-width: 1025px) {
  .menu-level-2 > li:hover > .menu-level-3 {
    display: block !important;
  }
}
.menu-level-3 > li > a {
  display: block;
  padding: 9px 12px 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 1) !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: normal;
  line-height: 1.3;
}
.menu-level-3 > li > a:hover {
  background: rgba(255, 122, 0, 0.13);
  color: rgba(255, 255, 255, 1) !important;
  padding-left: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-primary-700);
  gap: 6px;
  max-width: 200px;
  margin-left: 20px;
}
.header-contacts .place {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-contacts .place span {
  font-size: 12px;
  font-weight: 600;
}
.header-contacts img,
.header-contacts svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  filter: brightness(0.9);
}

.phone {
  color: var(--color-accent-500);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.phone:hover {
  color: var(--color-accent-400);
  transform: scale(1.04);
}

.btn-callback {
  background: var(--gradient-btn-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
  transition: all 0.35s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-callback::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: cbShine 3.5s infinite ease-in-out;
}
@keyframes cbShine {
  0% {
    left: -100%;
  }
  40% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}
.btn-callback:hover {
  background: var(--gradient-btn-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 122, 0, 0.5);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.2s;
}
.burger:hover {
  background: rgba(255, 122, 0, 0.08);
}
.burger span {
  width: 30px;
  height: 3.5px;
  background: var(--color-primary-700);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0.5);
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobMenuRide {
  transition: 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.mobile-menu {
  list-style: none;
  /*       position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 999;  */
  /* bottom: 0; -- УДАЛЕНО */
  max-height: 70vh; /* ДОБАВЛЕНО */
  background: linear-gradient(160deg, #003a6b 0%, #1a4e8a 55%, #0a1e38 100%);
  color: var(--color-white);
  padding: 88px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 28px; /* ДОБАВЛЕНО */
  border-bottom-right-radius: 28px; /* ДОБАВЛЕНО */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); /* ДОБАВЛЕНО */
}
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn-primary);
  z-index: 10;
}

.mobile-menu::-webkit-scrollbar {
  width: 3px;
}
.mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 0, 0.4);
  border-radius: 3px;
}

.mobile-menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-menu > li > a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  transition: all 0.25s ease;
}
.mobile-menu > li > a:hover,
.mobile-menu > li > a:active {
  color: var(--color-accent-400);
  background: rgba(255, 255, 255, 0.04);
}

.mob-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.mob-arrow::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.28s ease;
}
.mobile-menu .dropdown.active > a .mob-arrow {
  background: rgba(255, 122, 0, 0.28);
}
.mobile-menu .dropdown.active > a .mob-arrow::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.mobile-menu .dropdown-content {
  display: none !important;
  position: static !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  width: 100% !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-height: 52vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

.mobile-menu .dropdown-content::-webkit-scrollbar {
  width: 4px;
}

.mobile-menu .dropdown-content::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 0, 0.45);
  border-radius: 4px;
}

.mobile-menu .dropdown-content::before,
.mobile-menu .dropdown-content::after {
  display: none !important;
}
.mobile-menu .dropdown.active > .dropdown-content {
  display: flex !important;
  flex-direction: column;
}
.mobile-menu .dropdown-content > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.mobile-menu .dropdown-content > li > a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14.5px !important;
  font-weight: 600;
  padding: 13px 20px 13px 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-radius: 0 !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  transition: all 0.2s ease !important;
}
.mobile-menu .dropdown-content > li > a::before {
  display: none !important;
}

.mobile-menu .dropdown-content > li > a:hover,
.mobile-menu .dropdown-content > li > a:active {
  color: var(--color-accent-400) !important;
  background: rgba(255, 122, 0, 0.08) !important;
  padding-left: 36px !important;
}

.mob-sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: background 0.22s;
}
.mob-sub-arrow::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s ease;
}
.mobile-menu .dropdown-content > li.has-children.active > a .mob-sub-arrow {
  background: rgba(255, 122, 0, 0.25);
}
.mobile-menu
  .dropdown-content
  > li.has-children.active
  > a
  .mob-sub-arrow::after {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.mobile-menu .menu-level-3 {
  display: none !important;
  position: static !important;
  background: rgba(0, 0, 0, 0.18) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  width: 100% !important;
  box-shadow: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  list-style: none !important;
}
.mobile-menu .menu-level-3::before {
  display: none !important;
}
.mobile-menu .dropdown-content > li.has-children.active > .menu-level-3 {
  display: block !important;
}
.mobile-menu .menu-level-3 > li > a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13.5px !important;
  padding: 11px 20px 11px 48px !important;
  display: block !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  transition: all 0.2s ease !important;
}
.mobile-menu .menu-level-3 > li > a:hover {
  color: var(--color-accent-300) !important;
  padding-left: 54px !important;
  background: rgba(255, 122, 0, 0.07) !important;
}

.mobile-contacts-block {
  margin-top: auto;
  padding: 22px 20px 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.mobile-contacts-block .place {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-contacts-block .place img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
  filter: brightness(10) saturate(0);
}
.mobile-contacts-block .place span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/* =============================================
       АДАПТИВ
    ============================================= */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .header-contacts,
  .phone {
    display: none;
  }
  .burger {
    display: flex;
  }
  .btn-callback {
    padding: 10px 18px;
    font-size: 14px;
  }
  .logo img {
    height: 42px !important;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 70px;
  }
  .logo img {
    height: 36px !important;
  }
  .logo .company-name {
    font-size: 9px !important;
  }
  .btn-callback {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 10px;
  }
  .burger span {
    width: 26px;
    height: 3px;
  }
  .mobile-menu {
    padding-top: 78px;
  }
  .mobile-menu > li > a {
    font-size: 15px;
    padding: 14px 16px;
  }
  .mobile-menu .dropdown-content > li > a {
    font-size: 13.5px !important;
    padding: 12px 16px 12px 26px !important;
  }
  .mobile-menu .menu-level-3 > li > a {
    padding: 10px 16px 10px 42px !important;
    font-size: 13px !important;
  }
  .mobile-contacts-block {
    padding: 18px 16px 32px;
    gap: 11px;
  }
  .mobile-contacts-block .place span {
    font-size: 12.5px;
  }
}

@media (max-width: 375px) {
  .header-inner {
    height: 62px;
  }
  .logo img {
    height: 28px !important;
  }
  .logo .company-name {
    font-size: 8px !important;
  }
  .btn-callback {
    padding: 7px 10px;
    font-size: 12px;
  }
  .mobile-menu {
    padding-top: 70px;
  }
  .mobile-menu > li > a {
    font-size: 14px;
    padding: 13px 14px;
  }
  .mobile-menu .dropdown-content > li > a {
    font-size: 13px !important;
    padding: 11px 14px 11px 22px !important;
  }
  .mobile-menu .menu-level-3 > li > a {
    font-size: 12px !important;
    padding: 10px 14px 10px 36px !important;
  }
  .mobile-contacts-block {
    padding: 16px 14px 28px;
  }
  .mobile-contacts-block .place span {
    font-size: 12px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .header {
    width: 100%;
    overflow-x: hidden;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }

  .logo .company-name {
    white-space: normal !important;
  }

  .header-right {
    gap: 10px !important;
  }

  .btn-callback {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.animate {
  opacity: 0;
  animation: fadeUp var(--anim-duration) var(--anim-easing) forwards;
}
.d1 {
  animation-delay: 0.2s;
}
.d2 {
  animation-delay: 0.5s;
}
.d3 {
  animation-delay: 0.8s;
}
.d4 {
  animation-delay: 1.1s;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: 140px;
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 5%;
}
#stripes {
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%) skewY(-12deg);
  transform-origin: center top;
  background: linear-gradient(135deg, #1a4e8a 0%, #2563a6 50%, #3b82f6 100%);
  opacity: 0;
  animation: fadeInSimple 1.4s var(--anim-easing) 0.1s forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes fadeInSimple {
  to {
    opacity: 0.55;
  }
}
#stripes span {
  position: absolute;
  height: 40px;
  opacity: 0;
  filter: brightness(1.15) contrast(1.1);
  animation: fadeInSimple 1s var(--anim-easing) forwards;
}
#stripes :nth-child(1) {
  width: 50%;
  left: 50%;
  top: 40px;
  background: #3b82f6;
  animation-delay: 0.2s;
}
#stripes :nth-child(2) {
  width: 14%;
  right: 0;
  bottom: 40px;
  background: #60a5fa;
  animation-delay: 0.3s;
}
#stripes :nth-child(3) {
  width: 25%;
  bottom: 0;
  right: 0;
  background: #93c5fd;
  animation-delay: 0.4s;
}
@media (min-width: 670px) {
  #stripes span {
    height: 150px;
  }
  #stripes :nth-child(1) {
    top: 0;
    background: #3b82f6;
    animation-delay: 0.2s;
  }
  #stripes :nth-child(2) {
    width: 16.66667%;
    top: 300px;
    bottom: auto;
    background: #60a5fa;
    animation-delay: 0.3s;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    right: auto;
    background: #93c5fd;
    animation-delay: 0.4s;
  }
}
@media (min-width: 880px) {
  #stripes span {
    height: 190px;
  }
  #stripes :nth-child(1) {
    width: 33.33333%;
    left: -16.66666%;
    background: #3b82f6;
    animation-delay: 0.2s;
  }
  #stripes :nth-child(2) {
    width: 33.33333%;
    top: 0;
    left: 16.66666%;
    right: auto;
    background: #60a5fa;
    animation-delay: 0.25s;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    left: 49.99999%;
    bottom: auto;
    background: #93c5fd;
    animation-delay: 0.3s;
  }
  #stripes :nth-child(4) {
    width: 33.33333%;
    top: 380px;
    right: -16.66666%;
    background: #2563a6;
    animation-delay: 0.35s;
  }
  #stripes :nth-child(5) {
    width: 33.33333%;
    bottom: 0;
    background: #3b82f6;
    animation-delay: 0.4s;
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color: #fff;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-title {
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: var(--gradient-hero-dynamic);
  box-shadow: 0 0 40px rgba(255, 122, 0, 0.35),
    inset 0 0 20px rgba(255, 255, 255, 0.08);
}
.hero-title h1,
.hero-title p,
.hero-benefits span,
.hero-cta p,
.hero-badge strong,
.hero-badge span,
.btn {
  color: #fff;
}
.hero-title h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin: 0;
}
.hero-title p {
  font-size: 22px;
  margin-top: 16px;
  opacity: 0.95;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.benefit {
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(31, 31, 35, 0.65);
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.04);
}
.benefit::after {
  content: "↗";
  margin-left: auto;
  opacity: 0.8;
  font-size: 26px;
  font-weight: normal;
}
.hero-cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(31, 31, 35, 0.65);
  backdrop-filter: blur(10px);
}
.hero-cta p {
  font-size: 19px;
  margin-bottom: 24px;
  opacity: 0.95;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.btn {
  position: relative;
  overflow: hidden;
  flex: 1;
  padding: 18px 36px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
  color: #fff;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  transition: left 0.6s ease;
}
.btn:hover::before,
.btn-primary::before {
  left: 200%;
  transition: left 1.8s ease-in-out;
}
.btn-secondary::before {
  animation: shine 6s infinite ease-in-out;
  left: -100%;
}
@keyframes shine {
  0% {
    left: -100%;
  }
  30% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}
.btn:hover::before {
  transition-duration: 1.2s;
}
.btn-primary {
  background: var(--gradient-btn-primary);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.45);
}
.btn-secondary {
  background: var(--gradient-btn-secondary);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-primary:hover {
  background: var(--gradient-btn-primary-hover);
  box-shadow: 0 15px 40px rgba(255, 122, 0, 0.6);
}
.btn-secondary:hover {
  opacity: 0.8;
}
.hero-right {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateY(-4%);
  transition: transform 5s ease;
}
.hero-right:hover .hero-image {
  transform: scale(1.04) translateY(0);
}
.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 260px;
  padding: 22px;
  border-radius: 22px;
  background: var(--gradient-btn-primary);
  text-align: center;
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.4);
}
.hero-badge strong {
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}
.hero-badge span {
  font-size: 15px;
  opacity: 0.9;
}
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    position: static;
    width: 100%;
    margin-top: 20px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 120px;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-inner {
    padding: 20px;
    border-radius: 24px;
  }
  .hero-title {
    padding: 24px 20px;
  }
  .hero-title h1 {
    font-size: 34px;
  }
  .hero-title p {
    font-size: 18px;
    margin-top: 12px;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .benefit {
    padding: 14px 18px;
    font-size: 15.5px;
  }
  .hero-cta {
    padding: 20px;
  }
  .hero-cta p {
    font-size: 16.5px;
    margin-bottom: 18px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 14px;
  }
  .btn {
    padding: 16px 28px;
    font-size: 16px;
  }
  .hero-image {
    height: 260px;
    transform: none;
  }
  .hero-badge {
    padding: 16px;
  }
  .hero-badge strong {
    font-size: 17px;
  }
  .hero-badge span {
    font-size: 13.5px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 110px;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 50px;
  }
  .hero-inner {
    padding: 16px;
    border-radius: 20px;
  }
  .hero-title h1 {
    font-size: 28px;
    line-height: 1.15;
  }
  .hero-title p {
    font-size: 16px;
    margin-top: 10px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 15.5px;
  }
  .hero-image {
    height: 220px;
  }
}

@media (max-width: 380px) {
  .hero-title h1 {
    font-size: 24px;
  }
}
.price-section {
  position: relative;
  padding: 120px 6% 140px;
  background: var(--gradient-hero);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

/* Полосы как в hero */
#price-stripes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: skewY(-10deg);
  transform-origin: 0 0;
  background: linear-gradient(135deg, #1a4e8a 0%, #2563a6 50%, #3b82f6 100%);
  opacity: 0;
  animation: fadeInSimple 1.6s var(--anim-easing) forwards;
  z-index: 1;
}

#price-stripes span {
  position: absolute;
  height: 180px;
  opacity: 0;
  filter: brightness(1.1) contrast(1.05);
  animation: fadeInSimple 1.2s var(--anim-easing) forwards;
}

#price-stripes :nth-child(1) {
  width: 40%;
  left: -10%;
  top: 15%;
  background: #3b82f6;
  animation-delay: 0.2s;
}
#price-stripes :nth-child(2) {
  width: 35%;
  right: -5%;
  top: 40%;
  background: #60a5fa;
  animation-delay: 0.3s;
}
#price-stripes :nth-child(3) {
  width: 45%;
  left: 20%;
  bottom: -10%;
  background: #2563a6;
  animation-delay: 0.4s;
}

@media (max-width: 880px) {
  #price-stripes span {
    height: 140px;
  }
}

.price-container {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
}

.price-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 80px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #f0f4ff 30%,
    #fff7e6 60%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.price-table {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  /*    opacity: 0; */
  opacity: 1;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.price-table.visible {
  opacity: 1;
  transform: translateY(0);
}

.price-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}

.price-row:hover {
  background: rgba(255, 122, 0, 0.08);
}

.price-row.header {
  background: rgba(26, 78, 138, 0.6);
  font-weight: 800;
  color: #fff;
}

.price-cell {
  flex: 1;
  padding: 24px 32px;
  font-size: 18px;
  line-height: 1.4;
}

.price-cell.title {
  flex: 2;
  font-weight: 700;
  color: var(--color-accent-400);
}

.price-cell.price {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
}

.price-cell.unit {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .price-row {
    flex-direction: column;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .price-cell {
    padding: 20px 24px;
    text-align: center !important;
  }

  .price-cell.title {
    font-size: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .price-cell.price {
    font-size: 22px;
    padding: 16px 0;
  }

  .price-cell.unit {
    font-size: 15px;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .price-section {
    padding: 80px 5% 100px;
  }

  .price-section h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 0px;
  }

  .price-cell {
    padding: 16px 20px;
    font-size: 16px;
  }

  .price-cell.title {
    font-size: 18px;
  }

  .price-cell.price {
    font-size: 20px;
  }
}
.mobi {
  margin-top: 5%;
}
@media (max-width: 480px) {
  .mobi {
    margin-top: 170px;
  }
}

.watermark {
  position: absolute;
  color: #fff;
  font-weight: 600;
  font-size: calc(150%);
  opacity: 0.3;
  left: 50%;
  top: 40%;
  transform: translate(-50%);
  text-align: center;
}

/*     .fancybox-content::after{
      content: "Завод металлоконструкций СПМ";
      position: absolute;
      color:#fff;
      font-weight: 600;
      font-size: calc(200%);
      opacity:0.30;
      left:50%;
      top:40%;
      transform: translate(-50%);
      text-align: center;
z-index:  999999;
    } */

.fancybox-content,
.gallery-item,
.projectImageWrapper {
  position: relative;
}

@media (max-width: 1100px) {
  .articles-section {
    margin-top: 100px;
  }
}

.company-name {
  text-align: center;
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .company-name {
    font-size: 12px;
  }
}

.article-about {
  /*   max-width: 1000px; */

  /*     padding: 20px; */
  border-radius: 10px;
  margin: 0 auto;
}

.article-about a {
  text-align: center;
  display: block;
  margin-bottom: 30px;
}

.article-about img {
  margin: 0px auto;
  box-shadow: 0px 0px 1px #9d9797;
  border-radius: 5px;
  max-width: 1000px;
  width: 100%;
  height: auto;
}

.article-about h2 {
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin: 40px auto 20px;
  color: #0b4163;
}

.article-about h3 {
  margin: 15px auto 20px;
  text-align: center;
  color: #0e507a;
}

.table-h3.tableh3 {
  color: #fff;
}

.article-about > h2:nth-child(1) {
  margin: 0px auto 20px;
}

.article-about-shadow {
  height: 3px;
  background-color: #ff8c00;
  opacity: 0.2;
  margin-bottom: 50px;
  /*   box-shadow: 0px 0px 4px #bbb;
    height: 1px;
    background-color: #888; */
}

.article-about > hr {
  margin-top: 40px;
  background-color: #0f4d74;
  opacity: 0.2;
  border-radius: 2px;
  border: none;
  height: 4px;
  max-width: 200px;
  box-shadow: 0px 0px 0px 0px #fff;
}

.article-about p,
.article-about ul,
.article-about ol,
.article-about li,
.seo-sec p,
.seo-sec li {
  line-height: 28px;
  /*   text-align: justify; */
}

.strong-text {
  font-weight: 800;
  font-size: inherit;
}

.article-about .article-about ul {
  margin: 0px 0px 15px;
}

.article-about ul {
  margin: 8px 0px 15px;
}

.article-about_list p {
  font-weight: 600;
  padding-bottom: 0px;
}

.site-footer {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 0px 20px;
}

.footer-stripes {
  position: absolute;
  inset: 0;
  transform: skewY(-8deg);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.footer-stripes span {
  position: absolute;
  height: 160px;
  opacity: 0.18;
  border-radius: 4px;
}

.footer-stripes span:nth-child(1) {
  width: 38%;
  left: -8%;
  top: 10%;
  background: #3b82f6;
}
.footer-stripes span:nth-child(2) {
  width: 28%;
  right: -4%;
  top: 35%;
  background: #60a5fa;
}
.footer-stripes span:nth-child(3) {
  width: 42%;
  left: 25%;
  bottom: -5%;
  background: #2563a6;
}

.footer-divider {
  position: relative;
  z-index: 1;
  height: 4px;
  background: var(--gradient-btn-primary);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.5);
}

.footer-main {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 0 60px;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 48px;
}

.footer-col-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--gradient-btn-primary);
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

.footer-col-about .footer-phone {
  display: inline-block;
  font-size: 26px;
  font-weight: 900;
  color: var(--color-accent-400);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-bottom: 18px;
}

.footer-col-about .footer-phone:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 156, 64, 0.7);
  transform: scale(1.03);
}

.footer-col-about p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
}

.footer-col-about p:first-of-type {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.footer-social-btn:hover {
  background: var(--gradient-btn-primary);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.4);
}

.footer-col-menu ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.footer-col-menu ul li a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  padding-left: 14px;
}

.footer-col-menu ul li a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-accent-400);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

.footer-col-menu ul li a:hover {
  color: #fff;
  padding-left: 20px;
}

.footer-col-menu ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-col-contacts .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.footer-col-contacts .contact-item:hover {
  background: rgba(255, 122, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.25);
  transform: translateX(4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-btn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-value:hover {
  color: #fff;
}

.footer-privacy {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
}

.footer-privacy:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-copyright span {
  color: var(--color-accent-400);
}

.footer-dev {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-dev a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}

.footer-dev a:hover {
  color: var(--color-accent-400);
  border-color: var(--color-accent-400);
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding: 50px 5% 44px;
    gap: 36px;
  }

  .footer-col-menu ul {
    grid-template-columns: 1fr;
  }

  .footer-col-about {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 18px 5%;
  }
}

@media (max-width: 480px) {
  .footer-col-about .footer-phone {
    font-size: 22px;
  }
}

.related-section {
  margin-top: 0;
}

.related-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 4% 60px;
}

.related-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--pri-900);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .related-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

.related-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  background: #d9e2ec;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: 0.35s;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.related-img {
  position: relative;
  /*   aspect-ratio:4/3; */
  overflow: hidden;
}

body .related-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s;
}

.related-card:hover img {
  transform: scale(1.08);
}

.related-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: 0.35s;
}

.related-card:hover .related-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.related-btn {
  position: absolute;
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #2563a6, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.4s;
  white-space: nowrap;
}

.related-card:hover .related-btn {
  left: 50%;
  transform: translate(-50%, -50%);
}

.related-name {
  /*   position:absolute;
  left:0;
  right:0;
  bottom:0; */
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #003a6b 0%, #2563a6 50%, #003a6b 100%);
}

@media (max-width: 768px) {
  .related-name {
    font-size: 13px;
    padding: 12px;
  }
}

/* =============================================
   MOBILE HEADER HARD FIX
============================================= */
@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header {
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    gap: 8px;
  }

  .logo .company-name {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .logo {
    max-width: 55%;
    overflow: hidden;
  }

  .btn-callback {
    padding: 6px 8px !important;
    font-size: 11px !important;
    white-space: normal !important;
    flex-shrink: 1 !important;
  }

  .burger {
    flex-shrink: 0;
  }
}

.milti-back-shadow-sec .milti-back-window {
  max-width: 95% !important;
}

.milti-back-inputs .milti-back-inputs-forminputs input {
  color: #000 !important;
}

body .gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  max-height: 240px;
}

/* table tr:first-child td {
  background: #254d6b;
  color: var(--color-accent-400);
  text-align: center;
  font-size: 20px;
} */

table {
  display: block;
  width: 100%;
  border-radius: 10px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

thead {
  width: auto;
  display: block;
  background: #254d6b;
  color: var(--color-accent-400);
  text-align: center;
  font-size: 20px;
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

tbody {
  display: block;
}

table tr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10%, 1fr));
  width: 100%;
  transition: 0.6s;
}

th,
td {
  padding: 20px 24px;
  text-align: left;
  font-size: 17px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
th {
  font-weight: 800;
}
tbody tr:hover {
  background: rgb(68 111 159 / 10%);
}

table tr td,
table tr th {
  border-right: 1px solid #ddd;
  display: block;
  text-align: center;
  font-size: 18px;
}


 .btn-clients {

  background: linear-gradient(90deg, #FF7A00, #FF9C40);
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 20px auto;
  display: block;
  max-width: 310px;
}


.btn-clients:hover {
  background: linear-gradient(90deg, #FF9C40, #FFB366);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 122, 0, 0.55);
}


@media (min-width: 720px){
  .clients-sec .btn-clients {
    text-align: center;
    padding: 16px 16px;
}


  table tr th:first-child {
    border-left: none;
  }
  
  table tr td:first-child {
    border-left: none;
  }
  
  table tr:first-child th {
    border-top: none;
  }
  
  
  table tr td:last-child{
    border-right: none;
  }
  table tr th:last-child {
    border-right: none;
  }
  
  table tr:last-child th {
    border-bottom: none;
  }
}


table.table-price tr {
  height: 35px;
}

table tr span {
  display: none;
}

.articles-section {
  margin-top: 100px;
}
@media screen and (max-width: 720px) {
  .articles-section {
    margin-top: 20px;
  }
  .watermark {
    font-size: 100%;
  }

  h2 {
    font-size: 24px;
  }

  body .multi-city-shadow-sec .multi-city-window {
    max-width: 90%;
  }

  table tr.info-block-table__row:nth-child(1) {
    display: none;
  }

  table tr span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--two-color);
    padding: 2px 10px;
    font-size: 12px;
    color: #fff;
  }

  table {
    border: 1px solid transparent;
  }

  table tr {
    height: auto;
    margin-bottom: 20px;
    display: block;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid none;
    width: 100%;
  }

  .desc-art table tr th {
    width: 100%;
    display: block;
  }

  table,
  tbody {
    width: 100%;
    display: block;
  }

  table tr td {
    font-weight: normal;
    display: flex;
    position: relative;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid transparent;
  }

  table tr span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--two-color);
    padding: 2px 10px;
    font-size: 12px;
    color: #fff;
  }

  .info-block-table__row td {
    border-bottom: 1px solid #ddd;
  }

  caption {
    width: 100%;
  }

  .angar-work-table tr:nth-child(1),
  .angar-work-table tr:nth-child(2) {
    display: none;
  }

  /* table tr td:first-child{
    height: 60px;
    font-size: 16px;
    font-weight: bold;
  }*/
  table tr td:first-child {
    height: auto;
    padding: 15px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
  }

  table tr td {
    height: auto;
    padding: 15px;
    font-size: 18px;
    border-bottom: 2px solid #ccc;
  }

  table tr:first-child td {
    /*     border-bottom: 2px solid #fff; */
  }
  table.table-price tr {
    height: auto;
  }
}

@media screen and (max-width: 414px) {



  table tr td:first-child {
    height: auto;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
  }

  table tr td {
    font-size: 16px;
  }
}

.price-a-button {
  text-align: center;
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--grad-btn);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35);
  max-width: 400px;
  margin: 18px auto 30px;
}
.price-a-button:hover {
  /*     background: var(--grad-btn-h); */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.45);
}

.article-container,
.article-cont {
  max-width: 1200px;
  margin: 0px auto;
}

.project-top-plaques {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.hit-plaque,
.project-info {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}
.hit-plaque {
  background: var(--color-accent-500);
}
.project-info {
  background: rgba(26, 78, 138, 0.88);
  font-weight: 600;
  font-size: 14.5px;
}

.faq-section {
  margin-top: 20px;
  padding: 10px 6% 120px;
  background: var(--color-gray-100);
}

.faq-container {
  max-width: 1440px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 80px;
  background: linear-gradient(
    90deg,
    #003a6b 0%,
    #1a4e8a 30%,
    #2563a6 60%,
    #3b82f6 80%,
    #ff7a00 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-content: start; /* карточки начинаются сверху, не растягивают ряд */
}

.faq-entry {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* ответ не вылезает за карточку */
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
  cursor: pointer;
  align-self: start; /* карточка не растягивается по высоте ряда */
  height: auto;
}

.faq-entry.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-entry:nth-child(1) {
  transition-delay: 0.1s;
}
.faq-entry:nth-child(2) {
  transition-delay: 0.2s;
}
.faq-entry:nth-child(3) {
  transition-delay: 0.3s;
}
.faq-entry:nth-child(4) {
  transition-delay: 0.4s;
}
.faq-entry:nth-child(5) {
  transition-delay: 0.5s;
}
.faq-entry:nth-child(6) {
  transition-delay: 0.6s;
}
.faq-entry:nth-child(7) {
  transition-delay: 0.7s;
}
.faq-entry:nth-child(8) {
  transition-delay: 0.8s;
}
.faq-entry:nth-child(9) {
  transition-delay: 0.9s;
}
.faq-entry:nth-child(10) {
  transition-delay: 1s;
}

.faq-entry:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.faq-q-title {
  padding: 24px 32px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-arrow {
  font-size: 24px;
  color: var(--color-accent-500);
  transition: transform 0.3s ease;
}

.faq-entry.open .faq-arrow {
  transform: rotate(90deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 32px;
}

.faq-entry.open .faq-body {
  max-height: 800px; /* увеличил, если ответы длинные — не будет обрезаться */
  padding: 0 32px 32px;
}

.faq-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-gray-700);
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-entry {
    transition-delay: 0.2s !important;
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 80px 5% 100px;
  }
  .faq-section h2 {
    font-size: 26px;
    margin-bottom: 60px;
  }
  .faq-q-title {
    padding: 20px 24px;
    font-size: 18px;
  }
  .faq-body {
    padding: 0 24px 24px;
  }
  .faq-body p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {


  table tr{
    display: flex;
    flex-direction: column;
      }

  table tr td, table tr th{

    border-right: 1px solid #000;
  }



  .faq-body {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
  }

  .faq-entry.open .faq-body {
    max-height: 800px !important;
    padding: 0 24px 24px !important;
  }

  .faq-entry {
    overflow: hidden !important;
  }

  .faq-q-title {
    padding: 18px 20px !important;
    font-size: 17px !important;
  }

  .faq-body p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}


.red-text{
font-weight: 600;
color:#a80000 !important;
font-size: inherit;
}