* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { 
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a, a:link, a:visited, a:hover,
a:active {
  text-decoration: none;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 14, 38, 0.72);
}
.header_inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  color: white;
}
.header_logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.header_logo img {
  height: 35px;
  cursor: pointer;
}
.header_logo span {
  display: none;
}
.header_top_right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 20px;
}
.header_nav {
  display: flex;
  align-items: center;
}
.nav_links {
  display: flex;
  gap: 20px;
}
.nav_links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.burger_menu {
  display: none;
}
.header_lang {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 4px;
  font-size: 18px;
  z-index: 10;
  cursor: pointer;
}
.header_lang img {
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.header_lang_menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: white;
  color: #31414E;
  border-radius: 6px;
  padding: 4px 0;
  list-style: none;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99;
  cursor: pointer;
}
.header_lang_menu li {
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.header_lang_menu.hidden {
  display: none;
}
/* RESPONSIVE */
@media (max-width: 768px) {
.nav_links{
  display: none !important;
}
.header_lang {
  margin-right: 45px;
}
.burger_menu {
  width: 43px;
  height: 43px;
  position: absolute;
  right: 2%;
  z-index: 999;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.burger_lines {
  width: 30px;
  height: 19px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger_lines span {
  height: 2.5px;
  background-color: white;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: center;
}
.burger_menu.open .burger_lines span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
  background-color: white;
}
.burger_menu.open .burger_lines span:nth-child(2) {
  transform: rotate(-45deg) translateY(-8px);
  background-color: white;
}
.burger_menu.open .burger_lines span:nth-child(3) {
  opacity: 0;
}
.nav_links.show {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background: rgba(8, 14, 38, 0.95);
  position: fixed;
  top: 61px;
  left: 0;
  width: 100%;
  padding: 8px 0;
  z-index: 998;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav_links.show a {
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  text-align: center;
}}
/* HEADER */

/* LANDING VIDEO */
.landing_video_block {
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
  padding: 20px;
}
.landing_video_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.landing_video_overlay {
  max-width: 1300px;
  margin: 0 auto;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  color: #fff;
  padding-left: 50px;
}
.landing_video_text {
  position: relative;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.landing_video_text h1 {
  margin: 0;
  font-family: 'Tektur', sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}
.landing_video_text > a {
  align-self: flex-start;
  margin-top: 20px;
}
.button_text {
  margin: 0;
  padding: 13px 34px;
  background: transparent;
  color: #fca311;
  font-weight: 400;
  border: 1px solid #fca311;
  border-radius: 2px;
  font-size: 20px;
  cursor: pointer;
  position: relative;
}
.button_text:focus-visible {
  outline: 2px solid rgba(252, 163, 17, 0.55);
  outline-offset: 3px;
}
.landing_video_list {
  list-style: none;
  margin: 8px 0 0;
  padding-left: 26px;
  position: relative;
}
/* линия: касается низа зоны заголовка, заканчивается у верхнего края кнопки (без L на кнопке) */
.landing_video_list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -14px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.7) 12%,
    #fca311 100%
  );
  border-radius: 1px;
}
.landing_video_list li {
  position: relative;
  margin: 14px 0;
  line-height: 1.4;
  font-size: 20px;
}
/* центр точки = ось линии (left 9px + половина 2px) в координатах ul; li начинается с padding-left */
.landing_video_list li::before {
  content: "";
  position: absolute;
  left: calc(9px + 1px - 4px - 26px);
  top: 0.7em;
  top: 0.5lh;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff 0%, #fca311 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
/* RESPONSIVE */
@media (max-width: 768px) {
.landing_video_block{
  height: 100svh;
  padding: 0;
}
.landing_video_bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}
.landing_video_overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 0;
}
.landing_video_text{
  max-width: 100%;
}
.landing_video_text h1{
  font-size: 35px;
  line-height: 1.2;
}
.landing_video_list li {
  font-size: 18px;
}
.landing_video_text > a {
  margin-top: 22px;
}
.landing_video_list::before {
  top: -19px;
  bottom: -22px;
}
.button_text {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 18px;
}
}
/* LANDING VIDEO */

/* FOOTER */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer_inner {
  max-width: 1300px;
  padding: 40px 20px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) minmax(140px, 240px);
  grid-template-areas:
    "card center brand"
    "card bottom bottom";
  gap: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer_center,
.footer_brand,
.footer_bottom {
  min-width: 0;
}

/* ── Left card ── */
.footer_card {
  grid-area: card;
  background: #161616;
  border-radius: 12px;
  padding: 28px 24px 32px;
}
.footer_card_label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer_card_title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}
.footer_card_title strong {
  font-weight: 700;
}
.footer_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer_form input,
.footer_form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  resize: none;
  font-family: inherit;
  transition: border-color .2s ease;
}
.footer_form input::placeholder,
.footer_form textarea::placeholder {
  color: #555;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .5px;
}
.footer_form input:focus,
.footer_form textarea:focus {
  border-color: #FCA311;
}
.footer_form_btn {
  margin-top: 4px;
  width: 100%;
  padding: 12px;
  background: #FCA311;
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.footer_form_btn:hover {
  background: #e6920a;
}

/* ── Right side ── */
.footer_center {
  grid-area: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  text-align: left;
}
.footer_brand {
  grid-area: brand;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: visible;
}
.footer_nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  justify-items: start;
  align-items: center;
  column-gap: clamp(18px, 2.8vw, 48px);
  row-gap: 28px;
  width: 100%;
  max-width: 100%;
}
.footer_nav a {
  color: #FCA311;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.footer_nav_contacts {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer_contacts_list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.footer_contacts_list .footer_contact_link,
.footer_contacts_list a {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
  cursor: pointer;
}
.footer_contacts_list .footer_contact_link:hover,
.footer_contacts_list a:hover {
  color: #FCA311;
}

.footer_logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  text-align: right;
  max-width: 100%;
}
.footer_logo img {
  height: 36px;
  width: auto;
  max-width: min(180px, 100%);
  display: block;
  object-fit: contain;
}
.footer_logo span {
  font-size: 12px;
  color: #666;
}
.footer_bottom {
  grid-area: bottom;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 6px;
}
.footer_socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex: 1;
}
.footer_social_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e1e1e;
  border: 1px solid #333;
  transition: background .2s ease, border-color .2s ease;
}
.footer_social_btn:hover {
  background: #2a2a2a;
  border-color: #555;
}
.footer_social_btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer_copy {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: .3px;
  min-width: 0;
  max-width: 100%;
  text-align: right;
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
}

/* ── Responsive ── */
@media (max-width: 1240px) and (min-width: 1025px) {
  .footer_inner {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) minmax(120px, 200px);
    gap: 24px 28px;
  }
  .footer_nav {
    column-gap: clamp(14px, 2vw, 28px);
    row-gap: 20px;
  }
}
@media (max-width: 1024px) {
  .footer_inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "card"
      "center"
      "bottom";
    gap: 28px;
    padding: 32px 20px 40px;
  }
  .footer_card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .footer_brand {
    justify-content: center;
  }
  .footer_logo {
    align-items: center;
    text-align: center;
  }
  .footer_center {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .footer_nav {
    justify-content: center;
    justify-items: center;
    column-gap: clamp(18px, 4vw, 32px);
    row-gap: 22px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .footer_nav_contacts {
    justify-self: center;
    align-items: center;
  }
  .footer_contacts_list {
    align-items: center;
  }
  .footer_bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-top: 8px;
  }
  .footer_socials {
    flex: 0 0 auto;
    justify-content: center;
  }
  .footer_copy {
    display: block;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .footer_inner {
    padding: 28px 16px 36px;
    gap: 24px;
  }
  .footer_card {
    max-width: 100%;
    padding: 22px 18px 26px;
  }
  .footer_card_title {
    font-size: 19px;
  }
  .footer_nav {
    column-gap: 18px;
    row-gap: 18px;
  }
}
/* FOOTER */

/* LANDING ABOUT */
.landing_about {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 40px 0 40px 0;
}
.landing_about_header {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  width: 100%;
  box-sizing: border-box;
}
.landing_about_title {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 0;
  font-family: 'Tektur', sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}
.about__line {
  box-sizing: border-box;
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
}
.about__dot {
  position: absolute;
  top: 50%;
  right: max(40px, calc((100% - 1300px) / 4 + 60px));
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.landing_about_grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.landing_about_text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.landing_about_text p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}
.landing_about_cards {
  display: flex;
  gap: 8px;
  height: 260px;
}
.landing_about_card {
  flex: 1;
  position: relative;
  overflow: hidden;
  border: 2px solid #FCA311;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
}
.landing_about_card:hover {
  flex: 2.5;
}
.card_bg {
  position: absolute;
  inset: 0;
}
.card_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing_about_card:hover .card_bg img {
  transform: scale(1.05);
}
.card_content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  transition: background 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.card_body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  max-width: 34rem;
}
.card_title {
  color: #FCA311;
  font-size: 22px;
  font-family: 'Tektur', sans-serif;
  font-weight: 700;
  margin: 0;
  width: 100%;
  text-align: center;
}
.card_desc {
  color: #e7eefc;
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
  width: 100%;
  text-align: center;
  text-wrap: balance;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.08s,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}
.landing_about_card:hover .card_desc {
  max-height: 18rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  transform: translateY(0);
}
/* RESPONSIVE */
@media (max-width: 960px) {
.landing_about_grid {
  grid-template-columns: 1fr;
}
.landing_about_cards {
  flex-direction: column;
  flex-wrap: nowrap;
  height: auto;
  width: 100%;
  align-items: stretch;
  gap: 10px;
}
.landing_about_card {
  flex: none;
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  min-height: 220px;
  transition: none;
}
.landing_about_card:hover {
  flex: none;
}
.landing_about_card .card_content {
  padding: 20px 16px;
}
}
@media (max-width: 600px) {
.landing_about_text p {
  font-size: 18px;
}
.landing_about_card {
  min-height: 240px;
  aspect-ratio: auto;
}
.landing_about_card .card_title {
  font-size: 19px;
  line-height: 1.3;
}
}
/* LANDING ABOUT */

/* SERVICES TIMELINE */
.services_timeline {
  width: 100%;
  position: relative;
  background: #000 url('../img/background_computer.png') right center / auto 100% no-repeat;
  color: #fff;
  overflow: hidden;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}
.services_timeline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 42%, rgba(0,0,0,0.15) 85%);
  pointer-events: none;
  z-index: 0;
}
.timeline_body {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.timeline_logo {
  position: relative;
  z-index: 2;
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 36px;
}
.timeline_list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0 0 0 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}
/* как у .landing_video_list: одна вертикаль + точки на оси */
.timeline_list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -40px;
  /* flex: margin списка 40px + margin ссылки 20px не схлопываются */
  bottom: -60px;
  width: 2px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.7) 12%,
    #fca311 100%
  );
  border-radius: 1px;
  z-index: 0;
  pointer-events: none;
}
.timeline_list li {
  position: relative;
  z-index: 1;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #d8d8d8;
}
.timeline_list li::before {
  content: "";
  position: absolute;
  left: calc(9px + 1px - 4px - 26px);
  top: 0.7em;
  top: 0.5lh;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff 0%, #fca311 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.timeline_body > a {
  display: inline-flex;
  margin-top: 20px;
}

@media (max-width: 680px) {
  .timeline_body { padding-bottom: 52px; }
  .timeline_logo { font-size: 38px; margin-bottom: 24px; }
  .timeline_list { gap: 12px; margin-bottom: 28px; }
  .timeline_list::before {
    top: -30px;
    bottom: -48px;
  }
  .timeline_list li { font-size: 15px; }
  .services_timeline::before {
    background: rgba(0,0,0,0.82);
  }
}
/* SERVICES TIMELINE */

/* CLIENTS */
.landing_clients {
  width: 100%;
  position: relative;
  background: #000;
  color: #fff;
  padding: 0 0 40px;
}
.landing_clients_header {
  position: static;
  margin-bottom: 28px;
  width: 100%;
  box-sizing: border-box;
}
.clients_title {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 0;
  font-family: 'Tektur', sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(calc(0.75px - 50%));
}
.clients_line {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
  pointer-events: none;
}
.clients_dot {
  position: absolute;
  top: 0.75px;
  right: max(40px, calc((100% - 1300px) / 4 + 60px));
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}
.clients_intro {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.clients_sub {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  max-width: 480px;
}
.clients_cta_btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.carousel {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(120px, 12vw);
  pointer-events: none;
  z-index: 3;
}
.carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72), rgba(0,0,0,0));
}
.carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.72), rgba(0,0,0,0));
}
.carousel_viewport {
  overflow: hidden;
  padding: 30px 0;
}
.carousel_track {
  --gap: 22px;
  display: flex;
  gap: var(--gap);
  will-change: transform;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.card {
  max-height: 400px;
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
  position: relative;
  overflow: hidden;
  background: #111;
}
/* ~3 целых карточки + по половинке соседей у краёв (ширина ≈ 3.5 карточки + 3 промежутка) */
@media (min-width: 1024px) {
  .card {
    flex: 0 0 calc((100% - 3 * var(--gap)) / 3.5);
  }
}
.card img {
  width: 100%;
  display: block;
}
.card_overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 18, 34, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.card_overlay_content {
  text-align: center;
  color: #fff;
  transform: translateY(8px);
  transition: transform .3s ease, opacity .3s ease;
  opacity: .98;
}
.card_overlay_content h4 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.card_overlay_btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: .3px;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px;
  text-decoration: none;
  backdrop-filter: blur(2px);
  transition: background .2s ease;
}
.card_overlay_btn:hover { background: rgba(255,255,255,.28); }
.card.is-open .card_overlay { opacity: 1; visibility: visible; }
.card.is-open .card_overlay_content { transform: translateY(0); }
@media (hover: hover) {
  .card:hover .card_overlay { opacity: 1; visibility: visible; }
  .card:hover .card_overlay_content { transform: translateY(0); }
}
.carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease, background .2s ease, opacity .2s ease, border-color .2s ease;
  padding: 0;
  line-height: 1;
  z-index: 5;
  opacity: 0.92;
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}
.carousel_btn.prev {
  left: 14px;
}
.carousel_btn.next {
  right: 14px;
}
.carousel_btn:hover {
  color: #FCA311;
  transform: translateY(-50%) scale(1.07);
  background: rgba(0,0,0,0.40);
  border-color: rgba(252,163,17,0.28);
  opacity: 1;
}
@media (max-width: 767px) {
  .carousel {
    padding: 18px 0 22px;
  }
  .carousel_viewport {
    box-sizing: border-box;
    padding: 12px 14px 18px;
  }
  .carousel_track {
    --gap: 0;
  }
  /* одна карточка на ширину области вьюпорта (с боковыми отступами у .carousel_viewport) */
  .card {
    flex: 0 0 100%;
    max-height: min(400px, 58vh);
  }
  .clients_intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .carousel::before,
  .carousel::after {
    width: min(40px, 10vw);
  }
  .carousel_btn {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .carousel_btn.prev {
    left: 8px;
    right: auto;
  }
  .carousel_btn.next {
    right: 8px;
    left: auto;
  }
}
/* CLIENTS */

/* STYLES */
.landing_styles {
  width: 100%;
  position: relative;
  background: #000 url('../img/background_styles.png') center / cover no-repeat;
  color: #fff;
  padding: 0 0 40px;
}
.landing_styles_header {
  position: static;
  width: 100%;
  box-sizing: border-box;
}
.landing_styles_title {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 0;
  font-family: 'Tektur', sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
  /* центр заголовка на линии у верхнего края фона (высота линии 1.5px → центр 0.75px) */
  transform: translateY(calc(0.75px - 50%));
}
.landing_styles_line {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
  pointer-events: none;
}
.landing_styles_dot {
  position: absolute;
  top: 0.75px;
  right: max(40px, calc((100% - 1300px) / 4 + 60px));
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}
.landing_styles_tagline {
  box-sizing: border-box;
  width: 100%;
  max-width: min(
    530px,
    calc(100% - max(20px, calc((100% - 1300px) / 2 + 20px)) - 20px)
  );
  margin: 0 auto 28px;
  margin-left: max(20px, calc((100% - 1300px) / 2 + 20px));
  margin-right: auto;
  padding: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
  color: #fff;
}
.styles_carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 40px 12px;
}
.styles_viewport {
  flex: 1;
  overflow: hidden;
  padding: 30px 0;
}
.styles_track {
  --gap: 22px;
  display: flex;
  gap: var(--gap);
  will-change: transform;
}
.styles_carousel_btn{
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid #F1F5FF;
  background:transparent;
  color:#F1F5FF;
  display:grid;
  place-items:center;
  font-size:18px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, transform .15s ease;
}
.style_card {
  flex: 0 0 calc((100% - 4 * var(--gap)) / 5);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  transform-style: preserve-3d;
  transition:
    box-shadow .6s cubic-bezier(0.4, 0, 0.2, 1),
    transform  .6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    .6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility .6s cubic-bezier(0.4, 0, 0.2, 1);
}
.style_card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
}
.style_card_badge{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
}
/* Desktop: 5 карточек с 3D эффектом */
@media (min-width: 1100px) {
.styles_track > .style_card {
  flex: 0 0 calc((100% - 4 * var(--gap)) / 5);
}
}

/* Tablet: 3 карточки с 3D эффектом */
@media (max-width: 1099.98px) and (min-width: 720px) {
.styles_track > .style_card {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
}
}

/* Mobile: 1 карточка без 3D */
@media (max-width: 719.98px) {
.styles_track > .style_card {
  flex: 0 0 100%;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  clip-path: none !important;
  outline: none;
  border: none;
  overflow: hidden;
}
.styles_track > .style_card img {
  height: auto;
  border-radius: 18px;
  display: block;
}
.styles_carousel {
  perspective: none !important;
  padding: 0 12px;
}
.styles_viewport {
  padding: 0;
}
}

.form_container {
  background: #0e1a30;
  color: #F1F5FF;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form_group {
  padding: 3rem;
  width: 85%;
}

.form_info {
  margin-bottom: 0.75rem;
}

.form_info h1 {
  font-size: 60px;
}

#form_form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: max-content;
  background-color: #F1F5FF;
  border-radius: 28px;
  padding: 46px 32px;
}

#form_form input {
  border: none;
  outline: none;
  padding: 10px;
  font-size: 18px;
  background-color: #00000000;
  border-bottom: 1px solid #0b1120;
  margin-bottom: 28px;
}

#form_form textarea {
  background-color: #c9d6f2;
  outline: none;
  border: none;
  resize: none;
  width: 100%;
  border-radius: 28px;
  padding: 18px;
  font-size: 18px;
}

#form_form button {
  margin-right: 15%;
  margin-left: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .form_group {
    padding: 3rem 0;
  }

  .form_info h1 {
    font-size: 40px;
  }
}
/* STYLES */


