/* ============================================================
   СКУД — Умный домофон (surveillance page)
   Mobile-first: 375–767 → 768–1919 → 1920+
   ============================================================ */

/* ------ HERO ------ */
.surveillance-hero {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.surveillance-hero__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.surveillance-hero__content .section-title {
  font-size: 25px;
  text-align: left;
}
.surveillance-hero__text {
  font-size: 16px;
  line-height: 1.5;
  color: #33302E;
}
.surveillance-hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.surveillance-hero__buttons .brand-btn {
  height: 60px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.surveillance-hero__image {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  order: -1;
  align-self: center;
}
.surveillance-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ------ FEATURES ------ */
.surveillance-features-section .section-title {
  font-size: 25px;
}
.surveillance-features-section__subtitle {
  font-size: 16px;
  color: #33302E;
  line-height: 1.5;
  margin-bottom: 30px;
}
.surveillance-features-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.surveillance-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 20px;
  min-height: 114px;
}
.surveillance-feature-card__icon {
  width: 74px;
  height: 74px;
  background: #F39314;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.surveillance-feature-card__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.surveillance-feature-card__title {
  font-size: 18px;
  line-height: 1.5;
  color: #33302E;
  font-weight: 500;
  width: 170px;
  margin-left: 10px;
}

/* ------ DEVICES & COMPATIBILITY ------ */
.surveillance-devices-section .section-title {
  font-size: 25px;
  margin-bottom: 30px;
}
.surveillance-devices-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
}
.surveillance-device-logo-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  height: 229px;
  width: calc(50% - 15px);
}
.surveillance-compat-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.surveillance-compat-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 60px 20px 20px;
  position: relative;
}
.surveillance-compat-card__icon {
  position: absolute;
  top: -17px;
  right: 20px;
  width: 48px;
  height: 60px;
}
.surveillance-compat-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.surveillance-compat-card__title {
  font-size: 22px;
  line-height: 1.5;
  color: #33302E;
  margin-bottom: 30px;
  min-height: 3em;
}
.surveillance-compat-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: #33302E;
}
.surveillance-compat-card__text ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}
.surveillance-compat-card__text ul li {
  margin-bottom: 4px;
}

/* ------ ADVANTAGES ------ */
.surveillance-advantages-section .section-title {
  font-size: 25px;
  margin-bottom: 30px;
}
.surveillance-advantages-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.surveillance-advantage-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 20px;
}
.surveillance-advantage-card__title {
  font-size: 22px;
  line-height: 1.5;
  color: #F39314;
  margin-bottom: 20px;
}
.surveillance-advantage-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: #33302E;
}

/* ------ PROCESS ------ */
.surveillance-process-section .section-title {
  font-size: 25px;
  margin-bottom: 30px;
}
.surveillance-process-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.surveillance-process-step__number {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #FCDFB9;
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
  padding-left: 20px;
}
.surveillance-process-step__num {
  font-size: 60px;
  line-height: 1.5;
  letter-spacing: 6px;
  font-weight: 500;
}
.surveillance-process-step__label {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 2px;
  font-weight: 500;
}
.surveillance-process-step__card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 30px 20px;
}
.surveillance-process-step__title {
  font-size: 22px;
  line-height: 1.5;
  color: #33302E;
  margin-bottom: 15px;
}
.surveillance-process-step__text {
  font-size: 14px;
  line-height: 1.5;
  color: #33302E;
  margin-bottom: 0;
}
.surveillance-process-step__phone {
  font-size: 36px;
  line-height: 1.5;
  color: #F39314;
  display: block;
  margin: 8px 0;
  text-decoration: none;
  font-weight: 500;
}
.surveillance-process-step__phone:hover {
  color: #FF6900;
}
.surveillance-process-step__btn {
  height: 50px;
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------ FORM ------ */
.surveillance-form-section {
  padding-top: 0;
  padding-bottom: 40px;
}

.surveillance-form-box {
  background: #F39314;
  border-radius: 20px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.surveillance-form-bg {
  position: absolute;
  width: 101%;
  height: 101%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
}
.surveillance-form-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surveillance-form-box__title {
  font-size: 23px;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
  z-index: 2;
  position: relative;
}
.surveillance-form-box__subtitle {
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: center;
  z-index: 2;
  position: relative;
}
.surveillance-form-box__subtitle strong {
  font-weight: 700;
}
.surveillance-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  z-index: 2;
  position: relative;
}
.surveillance-form__field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.surveillance-form__error {
  color: #fff;
  background-color: rgba(220,53,69,.9);
  border-radius: .25rem;
  padding: 12px 20px;
  margin-bottom: 15px;
}
.surveillance-form__label {
  font-size: 12px;
  color: #fff;
  line-height: 1.5;
  padding-left: 25px;
  display: block;
}
.surveillance-form__input,
.surveillance-form__select {
  height: 60px;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 10px;
  padding: 16px 25px;
  font-size: 18px;
  color: #33302E;
  font-family: 'Rubik', sans-serif;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.surveillance-form__input::placeholder {
  font-size: 14px;
  color: #C3C4C8;
}
.surveillance-form__input.is-invalid,
.surveillance-form__select.is-invalid,
.surveillance-form__checkbox-label input[type="checkbox"].is-invalid {
  border-color: #ffb3b3;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.45);
}
.surveillance-form__field-error {
  margin-top: 1px;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  padding: .25rem .5rem .25rem 25px;
  background-color: rgba(220,53,69,.9);
  border-radius: .25rem;
}
.surveillance-form__select-wrap {
  position: relative;
}
.surveillance-form__select-wrap::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #33302E;
  pointer-events: none;
}
.surveillance-form__submit {
  width: 100%;
  height: 60px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.surveillance-form__submit:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}
.surveillance-form__agreement {
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.surveillance-form__agreement a {
  color: #fff;
  text-decoration: underline;
}
.surveillance-form__checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
}
.surveillance-form__checkbox-label input[type="checkbox"] {
  accent-color: #FF6900;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ------ APP SCREENSHOTS ------ */
.surveillance-app-section .section-title {
  font-size: 25px;
  margin-bottom: 30px;
}
.surveillance-app-screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.surveillance-app-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  height: auto;
  width: calc(50% - 24px);
}

/* ============================================================
   TABLET / DESKTOP (768px+)
   ============================================================ */
@media (min-width: 768px) {    
  /* HERO */
  .surveillance-hero {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .surveillance-hero__image {
    width: 380px;
    height: 380px;
    order: 0;
  }
  .surveillance-hero__content .section-title {
    font-size: 42px;
  }
  .surveillance-hero__text {
    font-size: 20px;
  }
  .surveillance-hero__buttons {
    flex-direction: row;
    gap: 20px;
  }
  .surveillance-hero__buttons .brand-btn {
    height: 76px;
    font-size: 20px;
    width: 345px;
  }

  /* FEATURES */
  .surveillance-features-section .section-title {
    font-size: 52px;
  }
  .surveillance-features-section__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
  }
  .surveillance-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .surveillance-feature-card {
    min-height: 217px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
  }
  .surveillance-feature-card__icon {
    align-self: flex-end;
  }
  .surveillance-feature-card__title {
    font-size: 24px;
    width: 100%;
    margin-left: 0;
  }

  /* DEVICES */
  .surveillance-devices-section .section-title {
    font-size: 52px;
    margin-bottom: 40px;
  }
  .surveillance-devices-logos {
    gap: 24px;
    margin-bottom: 60px;
  }
  .surveillance-device-logo-card {
    width: calc(25% - 24px);
    height: 500px;
  }
  .surveillance-compat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .surveillance-compat-card {
    padding: 60px 30px 30px;
  }
  .surveillance-compat-card__title {
    font-size: 24px;
  }
  .surveillance-compat-card__icon {
    right: 30px;
  }
  .surveillance-compat-card__text {
    font-size: 14px;
  }

  /* ADVANTAGES */
  .surveillance-advantages-section .section-title {
    font-size: 52px;
    margin-bottom: 40px;
  }
  .surveillance-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .surveillance-advantage-card {
    padding: 30px;
  }
  .surveillance-advantage-card__title {
    font-size: 24px;
  }

  /* PROCESS */
  .surveillance-process-section .section-title {
    font-size: 52px;
    margin-bottom: 40px;
  }
  .surveillance-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .surveillance-process-step__num {
    font-size: 80px;
    letter-spacing: 8px;
  }
  .surveillance-process-step__label {
    font-size: 30px;
    letter-spacing: 3px;
  }
  .surveillance-process-step__card {
    padding: 30px;
  }
  .surveillance-process-step__title {
    font-size: 24px;
  }
  .surveillance-process-step__text {
    font-size: 16px;
  }
  /* FORM */
  .surveillance-form-section {
    padding-bottom: 80px;
  }
  .surveillance-form-box {
    border-radius: 40px;
    padding: 60px 50px;
  }
  .surveillance-form-box__title {
    font-size: 48px;
    margin-bottom: 40px;
  }
  .surveillance-form-box__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
  }
  .surveillance-form__input,
  .surveillance-form__select {
    height: 76px;
    font-size: 18px;
    padding: 16px 30px;
  }
  .surveillance-form__input::placeholder {
    font-size: 18px;
  }
  .surveillance-form__submit {
    height: 76px;
    font-size: 20px;
  }
  .surveillance-form {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  .surveillance-form__agreement {
    justify-content: center;
  }

  /* APP */
  .surveillance-app-section .section-title {
    font-size: 52px;
    margin-bottom: 40px;
  }
  
  .surveillance-app-card {
    width: calc(25% - 24px);
  }
  
}

@media (min-width: 1200px) {
  .surveillance-form-section {
    padding-bottom: 120px;
  }

  .surveillance-form-box {
    padding: 65px 60px 80px;
  }

  .surveillance-form {
    max-width: 100%;
    gap: 14px;
  }

  .surveillance-form__field {
    width: calc(25% - 10.5px);
    margin-bottom: 0;
  }

  .surveillance-form__submit {
    width: 100%;
    order: 5;
  }

  .surveillance-form__agreement {
    width: auto;
    margin-left: auto;
    order: 7;
  }
}

/* ============================================================
   FULL WIDTH (1920px+)
   ============================================================ */
@media (min-width: 1920px) {

  /* DEVICES */
  .surveillance-compat-card__title {
    font-size: 30px;
  }
  .surveillance-compat-card__text {
    font-size: 16px;
  }

}
