/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --dark: #252525;
  --white: #ffffff;
  --blue: #0070d1;
  --blue2: #0069d3;
  --accent: #5eaccd;
  --accent-dk: #356478;
  --gray-text: rgba(0, 0, 0, 0.5);
  --card-placeholder: #d9d9d9;
  --card-light: rgba(0, 112, 209, 0.05);

  --f-h: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --f-b: "Roboto", "Segoe UI", Arial, sans-serif;
  --f-l: "Open Sans", system-ui, sans-serif;
}

/* ============================================
   RESET
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--f-b);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 150px;
}

/* ============================================
   UTILITIES
   ============================================ */
.bg-dark {
  background: var(--dark);
}

.contact-header {
  padding: 80px 0;
  text-align: center;
}
.contact-header__title {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--dark);
}
.contact-header__hl {
  color: var(--accent);
}

.contact {
  padding: 100px 0;
  color: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact__h2 {
  font-family: var(--f-h);
  font-size: 42px;
  margin-bottom: 20px;
}
.contact__sub {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.8;
}
.contact__socials {
  display: flex;
  gap: 20px;
}
.contact__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.2s;
}
.contact__social-btn:hover {
  transform: translateY(-5px);
}
.contact__form-group {
  margin-bottom: 20px;
}
.contact__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact__input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #444;
  background: transparent;
  color: white;
}
.contact__submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s;
}
.contact__submit:hover {
  background: var(--accent-dk);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-b);
  font-weight: 500;
  font-size: 18px;
  border-radius: 15px;
  cursor: pointer;
  border: none;
  padding: 14px 32px;
  transition:
    filter 0.2s,
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}

/* Gradient (для hero + workflow) */
.btn--grad {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dk) 100%);
  color: var(--white);
}
.btn--grad:hover {
  filter: brightness(1.1);
}

/* Outline акцент синий */
.btn--outline {
  border: 3px solid var(--accent);
  background: transparent;
  color: var(--white);
}
.btn--outline:hover {
  background: var(--accent);
}

/* Outline для тёмного фона (отзывы) */
.btn--outline-acc {
  border: 3px solid var(--accent);
  background: transparent;
  color: var(--accent);
  min-width: 250px;
  height: 56px;
}
.btn--outline-acc:hover {
  background: var(--accent);
  color: var(--white);
}

/* CTA кнопка в хедере (gradient) */
.btn--cta {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dk) 100%);
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
}
.btn--cta:hover {
  filter: brightness(1.1);
}

/* Белая кнопка (карточка услуги) */
.btn--card-white {
  background: var(--white);
  color: var(--dark);
  width: 100%;
  font-size: 18px;
  padding: 12px 20px;
}
.btn--card-white:hover {
  background: #f0f0f0;
}

/* Синяя кнопка (карточка услуги) */
.btn--card-blue {
  background: var(--blue);
  color: var(--white);
  width: 100%;
  font-size: 18px;
  padding: 12px 20px;
}
.btn--card-blue:hover {
  background: var(--blue2);
}

/* ============================================
   HEADER
   Figma: position y=40, blur-панель, border-radius 15px.
   Состав: лого | контакт | nav | кнопка CTA
   ============================================ */
.header {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 68px rgba(255, 255, 255, 0.05),
    inset 0 4px 4px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  border-radius: 15px;
}

.header__wrapper-logo-nav {
  display: none;
}

.header__wrapper-logo-nav-desctop {
  outline: 3px red solid;
  min-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1025px) and (max-width: 1450px) {
  .header__inner {
    flex-direction: column;
  }
}

@media (max-width: 1025px) {
  .header__wrapper-logo-nav-desctop {
    display: none;
  }

  .header__wrapper-logo-nav {
    display: flex;
  }
}

/* Логотип: SVG иконка + текст Orbita Systems */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__icon {
  flex-shrink: 0;
}
.logo__name {
  font-family: var(--f-l);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo__accent {
  background: linear-gradient(90deg, var(--accent), #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.premium-logo-text {
  font-family: "Playfair Display", serif !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  letter-spacing: 0.02em !important;
}
.premium-logo-text .logo__accent {
  font-weight: 600;
  font-style: italic;
}

@media (max-width: 410px) {
  .premium-logo-text {
    font-size: 18px !important;
  }
}

/* Правый блок хедера */
.header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.header__icon-link:hover {
  opacity: 1;
  transform: scale(1.08);
}
.header__img-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* Телефон и время работы */
.header__contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.header__work-hours {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}
.header__phone {
  font-family: var(--f-b);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.2s;
}
.header__phone:hover {
  color: var(--accent);
}

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__link {
  font-size: 16px;
  color: var(--white);
  transition: opacity 0.2s;
}
.nav__link:hover {
  opacity: 0.65;
}
.arr {
  font-size: 10px;
}

/* ============================================
   HERO
   Figma: 1700×798px, фото-фон, контент от y≈250.
   ============================================ */
.hero {
  position: relative;
  height: 798px;
  overflow: hidden;
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden; /* обрезает всё, что вылезает */
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* картинка заполняет блок, не искажаясь, лишнее обрезается */
  display: block; /* убирает «лишние» пиксели снизу из‑за inline-поведения */
}

.hero__tablet {
  display: none;
}

.hero__mobile {
  display: none;
}

@media (max-width: 500px) {
  .hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* смещает фокус картинки влево */
    object-position: 82% 50%; /* X = 40%, Y = 50% */
    display: block;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 190px;
}

@media (min-width: 768px) and (max-width: 1400px) {
  .hero__content {
    margin-top: 200px;
  }
}

.hero__label {
  font-family: var(--f-l);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 10px;
}

.hero__title {
  font-family: var(--f-h);
  font-size: 48px;
  line-height: 1.05;
  max-width: 600px;
  margin-bottom: 20px;
}
.hero__hl {
  color: var(--accent);
}

.hero__desc {
  font-size: 20px;
  font-weight: 600;
  max-width: 709px;
  line-height: 1.5;
  margin-bottom: 40px;
}

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

@media (max-width: 400px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   BANNER
   Figma: белый фон, Bebas 48px, по центру.
   ============================================ */
.banner {
  padding: 80px 0;
  text-align: center;
  background: var(--white);
}
.banner__text {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--dark);
}

@media (max-width: 400px) {
  .banner__text {
    font-size: 28px;
  }
  .banner {
    padding: 30px 0;
  }
}

/* ============================================
   SERVICES (9 карточек)
   Figma: белый фон, сетка 3 колонки, gap≈50px,
   карточки 433×438px, borderRadius 30px, shadow.
   ============================================ */
.services {
  background: var(--white);
  padding: 0 0 100px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* Карточка услуги */
.scard {
  background: var(--white);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 438px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s;
}
.scard:hover {
  transform: translateY(-4px);
}
.scard--light {
  background: var(--card-light);
}

.scard__icon {
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--dark);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.scard__icon svg {
  width: 100%;
  height: 100%;
}

.scard__title {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.05;
}

@media (max-width: 400px) {
  .scard__title {
    font-size: 22px;
  }

  .scard {
    padding: 15px;
  }
}
.scard__desc {
  font-size: 18px;
  color: var(--gray-text);
  flex-grow: 1;
  margin-bottom: 12px;
  line-height: 1.4;
}
.scard__price {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

/* ============================================
   CASES
   Figma: тёмный фон (#252525).
   Заголовок + подзаголовок вверху.
   Сетка 3×3 (ячейки квадратные).
   Кнопка: синий круг (150×150px) + текст правее.
   ============================================ */
.cases {
  background: var(--dark);
  padding: 100px 0 0;
}

.cases__title {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--white);
  text-align: center;
}
.cases__sub {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--accent);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 60px;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

/* Ячейка кейса — с overlay текстом */
.case-cell {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.case-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay текст поверх картинки (ИНТЕРНЕТ МАГАЗИН ДЛЯ...) */
.case-cell__overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--f-h);
  font-size: 20px;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

/* 9-я ячейка: кнопка «Показать ещё» */
.case-cell--more {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}
.case-cell--more:hover {
  background: #1a1a1a;
}

.cases__more-circle {
  width: 150px;
  height: 150px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.case-cell--more:hover .cases__more-circle {
  transform: scale(1.05);
}

.cases__more-text {
  font-family: var(--f-h);
  font-size: 24px;
  color: var(--white);
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--blue);
}

/* Доп. сетка (скрыта) */
.cases__extra {
  display: none;
}
.cases__extra--open {
  display: grid;
}

/* Кнопка «Показать ещё» */
.cases__more-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 60px 150px;
}
.cases__more-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.cases__more-btn:hover .cases__more-circle {
  transform: scale(1.05);
}
.cases__more-btn span {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--dark);
}

/* ============================================
   WORKFLOW
   ============================================ */
.workflow {
  background: var(--white);
  padding: 100px 0;
}

.wf__title {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 60px;
}

.wf__layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Обёртка таймлайна с вертикальной линией */
.wf__timeline-wrap {
  flex: 1;
  position: relative;
}
.wf__line {
  position: absolute;
  left: 50px;
  top: 50px;
  bottom: 50px;
  width: 3px;
  border-left: 3px dashed rgba(0, 0, 0, 0.2);
}

.wf__timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf__step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

/* Синий квадрат с цифрой */
.wf__num-wrap {
  flex-shrink: 0;
}
.wf__num {
  width: 100px;
  height: 100px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.wf__label {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 8px;
  padding-top: 10px;
}
.wf__desc {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.65);
}

/* Правая часть: статы + кнопка */
.wf__right {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.wf__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.stat {
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  justify-content: center;
  min-height: 180px;
}
.stat--dark {
  background: var(--dark);
}
.stat--white {
  background: var(--white);
}

.stat__num {
  font-family: var(--f-h);
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}
.stat__num--accent {
  color: var(--accent);
}
.stat__num--blue {
  color: var(--blue);
}

.stat__desc {
  font-size: 14px;
  color: var(--white);
  line-height: 1.35;
}
.stat__desc--dark {
  color: var(--dark);
}

.wf__cta-btn {
  min-width: 250px;
}

/* ============================================
   REVIEWS + FAQ  (тёмный фон)
   ============================================ */
.rv-section,
.faq-section {
  padding: 120px 0;
  color: var(--white);
}

/* --- REVIEWS --- */
.rv {
  text-align: center;
  margin-bottom: 80px;
}

.rv__title {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--white);
}
.rv__sub {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--accent);
  margin-top: 10px;
}
.rv__heading {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--dark);
  margin-top: 30px;
}

.rv__step {
  padding: 60px 0;
  text-align: center;
}

.rv__step-heading {
  font-family: var(--f-h);
  font-size: 48px;
  color: var(--blue);
  letter-spacing: 0.07em;
}

.rv__slider-wrap {
  position: relative;
  width: 100%;
}
.rv__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.rv__arrow:hover {
  transform: translateY(-50%) scale(1.05);
}
.rv__arrow svg {
  width: 24px;
  height: 24px;
  color: var(--dark);
}
.rv__arrow--prev {
  left: -22px;
}
.rv__arrow--next {
  right: -22px;
}

.rv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.rv-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rv-card__top {
  display: flex;
  align-items: center;
  gap: 15px;
}
.rv-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-placeholder);
  flex-shrink: 0;
}
.rv-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}
.rv-card__company {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 2px;
}
.rv-card__stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.rv-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #fbc02d;
}
.rv-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: #3d3d3d;
  flex-grow: 1;
}
.rv-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}

.footer__authot {
  font-size: 16px;
  color: var(--white);
  margin-left: 20px;
  margin-top: 20px;
}

@media (max-width: 380px) {
  .footer__authot {
    font-size: 14px;
  }
}
.rv-card__more {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
}
.rv-card__link {
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
}

.rv__all-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.rv__all-wrap .btn {
  width: 250px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- FAQ --- */
.faq-section {
  padding: 80px 0;
}
.faq__title {
  font-family: var(--f-h);
  font-size: 40px;
  color: var(--white);
  margin-bottom: 80px;
  text-align: center;
  text-transform: uppercase;
}
.faq__sub {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--blue);
  margin-bottom: 40px;
}

.faq__layout {
  display: block;
}

.faq__body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  gap: 15px;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.faq-item__btn span {
  position: absolute;
  background: var(--dark);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__btn span:nth-child(1) {
  width: 14px;
  height: 1.5px;
}
.faq-item__btn span:nth-child(2) {
  width: 1.5px;
  height: 14px;
  transition: transform 0.3s;
}
details[open] .faq-item__btn span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__a {
  padding: 0 0 25px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* =========================================
   PROJECT STEP 
   ========================================= */
.project-step {
  background: var(--light, #ffffff);
  padding: 80px 0;
}
.project-step__title {
  font-family: var(--f-h);
  font-size: 40px;
  color: var(--dark);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-step__sub {
  font-family: var(--f-h);
  font-size: 24px;
  color: var(--blue);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.project-step__layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.project-step__photo img {
  width: 380px;
  height: 304px;
  border-radius: 15px;
  object-fit: cover;
}
.project-step__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 430px;
}
.project-step__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-step__label {
  font-size: 14px;
  color: var(--dark);
}
.project-step__input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--blue2);
  border-radius: 10px;
  padding: 0 20px;
  font-family: var(--f-b);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: box-shadow 0.3s;
}
.project-step__input:focus {
  box-shadow: 0 0 0 3px rgba(0, 105, 211, 0.2);
}
.project-step__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.project-step__submit {
  width: 100%;
  height: 50px;
  margin-top: 10px;
  background: var(--blue2);
  color: var(--white);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.project-step__submit:hover {
  background: var(--blue);
}

/* ============================================
   БЕГУЩАЯ СТРОКА (два синих блока)
   ============================================ */
.ticker-section {
  background: var(--light, #ffffff);
  padding: 100px 0 60px 0;
}
.ticker-section__title {
  font-family: var(--f-h);
  font-size: 44px;
  color: var(--dark);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 50px;
}

@media (max-width: 440px) {
  .ticker-section__title {
    font-size: 28px;
  }
}

.ticker-wrap {
  overflow: hidden;
  margin-bottom: 0;
}

.ticker {
  background: var(--blue2);
  height: 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 15px;
}
.ticker + .ticker {
  margin-bottom: 0;
}

.ticker__row {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: ticker-move 25s linear infinite;
  will-change: transform;
}
.ticker__row--2 {
  animation-direction: reverse;
  animation-duration: 30s;
}

.ticker__row span {
  font-family: var(--f-h);
  font-size: 32px;
  color: var(--white);
  flex-shrink: 0;
}

@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   TEAM
   Figma y≈8930–9850: 4 колонки, 2 ряда (8 карточек).
   Фон карточек: серый #D9D9D9, border-radius 15px.
   ============================================ */
.team {
  background: var(--dark);
  padding: 100px 0;
}

.team__title {
  font-family: var(--f-h);
  font-size: 40px;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.team__subtitle {
  font-family: var(--f-h);
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 80px;
  text-transform: uppercase;
  line-height: 1.3;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}

.tm {
  display: flex;
  flex-direction: column;
}
.tm__photo {
  width: 100%;
  height: 350px;
  background: #d9d9d9;
  border-radius: 15px;
  margin-bottom: 25px;
  background-image: url(../assets/images/заглушка.jpg);
  background-size: cover;
}
.tm__name {
  font-family: var(--f-h);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.tm__stack {
  font-family: var(--f-b);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}
.tm__desc {
  font-family: var(--f-b);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  flex: 1;
}
.tm__hl {
  color: var(--accent);
}
.tm__btn {
  background: var(--accent);
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  padding: 15px 0;
  width: 100%;
  text-align: center;
  transition: filter 0.2s;
  border: none;
  cursor: pointer;
}
.tm__btn:hover {
  filter: brightness(1.1);
}

/* ============================================
   CONTACT FORM
   Figma y≈11084–11300: два белых прямоугольника 685×404px,
   border-radius 30px, на тёмном фоне.
   ============================================ */
.contact-header {
  background: #f8f8f8;
  padding: 100px 0;
  text-align: center;
}
.contact-header__title {
  font-family: var(--f-h);
  font-size: 56px;
  color: var(--dark);
  text-transform: uppercase;
}
.contact-header__hl {
  color: var(--blue2);
}

.contact {
  padding: 100px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact__left,
.contact__right {
  background: var(--white);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  flex-direction: column;
}
.contact__left {
  justify-content: flex-start;
}

.contact__h2 {
  font-family: var(--f-h);
  font-size: 40px;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.contact__sub {
  font-family: var(--f-h);
  font-size: 24px;
  color: var(--blue2);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.contact__socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.contact__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s;
}
.contact__social-btn:hover {
  filter: brightness(1.1);
}
.contact__social-btn--viber {
  background: #7360f2;
}
.contact__social-btn--tg {
  background: #2aabee;
}

.contact__form {
  display: flex;
  flex-direction: column;
}
.contact__form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.contact__label {
  font-family: var(--f-b);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact__input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--blue2);
  border-radius: 10px;
  background: transparent;
  padding: 0 20px;
  font-family: var(--f-b);
  font-size: 16px;
  color: var(--dark);
}
.contact__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.contact__submit {
  background: var(--blue2);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  padding: 18px 0;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
}
.contact__submit:hover {
  background: var(--blue);
}

/* ============================================
   FOOTER
   Figma y≈11482–12093: тёмный фон.
   4-колоночная сетка: лого | Интересное | Разраб. | Продв.
   Горизонтальная линия. Нижняя строка: ИП / Документы / реквизиты.
   ============================================ */
.footer {
  padding: 80px 0 40px;
}

/* 6 Колонок */
.footer__grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 800px) {
  .footer__grid-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (max-width: 460px) {
  .footer__grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Колонка футера: заголовок + ссылки */
.footer__col-title {
  font-family: var(--f-b);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 25px;
  margin-top: 0;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.footer__nav a:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

/* Средняя строка (Копирайт, Документы, Телефон) */
.footer__mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__docs {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}
.footer__docs:hover {
  color: var(--white);
}
.footer__contacts {
  text-align: right;
}
.footer__phone {
  font-size: 22px;
  font-family: var(--f-b);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Разделитель */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 0 30px;
}

/* Нижняя строка */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__activities {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__activity {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__activity .arrow {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal p,
.footer__bank p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  line-height: 1.4;
}
.footer__bank {
  text-align: right;
}

/* Burger Button */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100199999999999999;
  flex-shrink: 0;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.header__burger--active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.header__burger--active span:nth-child(2) {
  opacity: 0;
}
.header__burger--active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

body.no-scroll {
  overflow: hidden;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 1400px) {
  .container {
    padding: 0 60px;
  }
  .cases__more-wrap {
    padding: 60px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wf__layout {
    flex-direction: column;
  }
  .wf__right {
    min-width: unset;
    width: 100%;
  }
  .rv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq__layout {
    grid-template-columns: 1fr;
  }
  .faq__photo img {
    width: 100%;
    height: 220px;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .cases__more-wrap {
    padding: 40px;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    justify-content: space-between;
    gap: 15px;
  }
  .header__burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    z-index: 100000000;
    transform: translateX(100%); /* скрываем вправо */
    transition: transform 0.35s ease;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-100%);
  }
  .nav.nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    margin-bottom: 400px;
  }
  .nav__link {
    font-size: 24px;
  }
  .nav__link .arr {
    display: none;
  }
  .header__contact-wrap {
    display: none;
  }
  .header__cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero__title {
    font-size: clamp(36px, 8vw, 48px);
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero__desc {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .hero__btns {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .hero__btns .btn {
    width: 100%;
  }

  /* Sections */
  .services {
    padding: 60px 0;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cases {
    padding: 60px 0;
  }
  .cases__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wf {
    padding: 60px 0;
  }
  .wf__grid {
    grid-template-columns: 1fr;
  }
  .wf__stats {
    grid-template-columns: 1fr;
  }

  .project-step {
    padding: 50px 0;
  }
  .project-step__title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .project-step__layout {
    flex-direction: column;
    gap: 30px;
  }
  .project-step__photo img {
    width: 100%;
    height: auto;
  }

  .team {
    padding: 60px 0;
  }
  .team__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tm__photo {
    height: 250px;
  }

  .rv-section,
  .faq-section {
    padding: 60px 0;
  }
  .rv {
    padding: 0;
    margin-bottom: 40px;
  }
  .rv__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rv__arrow {
    display: none;
  }

  .faq {
    padding: 60px 0;
  }
  .faq__cols {
    grid-template-columns: 1fr;
  }
  .faq__input,
  .faq__submit {
    width: 100%;
  }

  .contact-header {
    padding: 50px 0;
  }
  .contact-header__title {
    font-size: clamp(26px, 6vw, 36px);
  }
  .contact {
    padding: 60px 0;
  }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__left,
  .contact__right {
    padding: 0;
  }
  .contact__h2 {
    font-size: clamp(26px, 6vw, 38px);
  }

  .footer {
    padding: 50px 0 30px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header__phone {
    display: none;
  }
  .header__right {
    gap: 10px;
  }
  .header__icon-link svg,
  .header__img-icon {
    width: 36px;
    height: 36px;
  }
  .logo__name {
    font-size: 18px;
  }
  .logo__icon {
    width: 34px;
    height: 34px;
  }
}

/*временная плашка оповещения о временном сайте*/

.temp-banner {
  background-color: #ffffff;
  color: black;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); /* чуть выразительнее тень для нижнего положения */
  z-index: 9999;
  border-radius: 25px; /* мягко «приподнимает» плашку */
}

/* Новое позиционирование: внизу, с отступом от края экрана */
.fixed-bottom-notice {
  position: fixed;
  bottom: 44px; /* отступ от низа экрана */
  left: 50%;
  transform: translateX(-50%); /* центрирование по горизонтали */
  max-width: 90%; /* не шире 90% экрана */
  width: 560px; /* комфортная ширина для десктопа */
}

.banner-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* текст слева, крестик справа */
  padding: 14px 20px;
  gap: 16px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dk) 100%);
  color: var(--white);
  border-radius: 20px;
}

.banner-text {
  display: block;
  margin: 0;
  font-weight: 400;
}

.banner-close {
  background-color: #4169e1; /* синий кружок (как в твоём конвертере) */
  border: none;
  color: #ffffff; /* белый крестик */
  font-size: 30px;
  width: 35px;
  height: 35px;
  line-height: 1;
  cursor: pointer;
  padding: 8px; /* чуть больше, чтобы крестик был по центру */
  border-radius: 50%; /* делает кружок */
  transition: all 0.2s ease;
  display: inline-flex; /* центрирует крестик по горизонтали и вертикали */
  align-items: center;
  justify-content: center;
}

.banner-close:hover {
  background-color: #3357c4; /* чуть темнее при наведении */
  color: #ffffff; /* крестик остаётся белым */
  transform: scale(1.1); /* лёгкий эффект увеличения (по желанию) */
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .fixed-bottom-notice {
    width: 96%;
    bottom: 16px;
  }

  .banner-content {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .banner-close {
    align-self: flex-end;
    padding: 6px 10px;
  }
}

@media (max-width: 400px) {
  .wf__title {
    font-size: 32px;
  }

  .cases__title {
    font-size: 32px;
  }

  .rv__title {
    font-size: 32px;
  }

  .faq__title {
    font-size: 32px;
  }

  .team__title {
    font-size: 32px;
  }

  .cases__sub {
    font-size: 26px;
  }

  .team__subtitle {
    font-size: 26px;
  }

  .rv__su {
    font-size: 26px;
  }

  .cases__more-circle {
    width: 70px;
    height: 70px;
  }

  .cases {
    padding: 0;
  }

  .wf__label {
    font-size: 26px;
  }

  .wf__num {
    width: 70px;
    height: 70px;
  }

  .contact__h2 {
    margin-top: 15px;
    text-align: center;
  }

  .contact__sub {
    text-align: center;
  }

  .contact__socials {
    justify-content: center;
    margin-bottom: 15px;
  }
}
