/* ==========================================================================
   Услуги связи для управляющих организаций — services-for-property-management.css
   ========================================================================== */

/* ---------- Hero Section ---------- */
.prop-mgmt-hero-section {
  position: relative;
  background-color: var(--color-gray-light);
}

.prop-mgmt-hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.prop-mgmt-hero-text {
  text-align: center;
  width: 100%;
}

.prop-mgmt-hero-text__subtitle {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

/* --- Service cards grid --- */
.prop-mgmt-cards-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prop-mgmt-card {
  position: relative;
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prop-mgmt-card__icon {
  position: absolute;
  top: -26px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--color-orange-light);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.prop-mgmt-card__icon img {
  width: 32px;
  height: 32px;
}

.prop-mgmt-card__title {
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
}

.prop-mgmt-card__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.prop-mgmt-hero-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.prop-mgmt-hero-btn {
  width: 100%;
  max-width: 339px;
  height: 60px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .prop-mgmt-hero-top {
    gap: 40px;
    margin-bottom: 60px;
  }

  .prop-mgmt-hero-text__subtitle {
    font-size: 20px;
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
  }

  .prop-mgmt-cards-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .prop-mgmt-card {
    width: calc(50% - 10px);
    padding: 80px 30px 30px;
    gap: 30px;
  }

  .prop-mgmt-card__icon {
    top: -40px;
    right: 30px;
    width: 80px;
    height: 80px;
  }

  .prop-mgmt-card__icon img {
    width: 50px;
    height: 50px;
  }

  .prop-mgmt-card__title {
    font-size: 25px;
  }

  .prop-mgmt-card__text {
    font-size: 16px;
  }

  .prop-mgmt-hero-btn {
    max-width: initial;
    width: auto;
    height: 76px;
    font-size: 20px;
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 1200px) {
  .prop-mgmt-hero-top {
    gap: 48px;
    margin-bottom: 80px;
  }

  .prop-mgmt-hero-text__subtitle {
    max-width: 1289px;
  }

  .prop-mgmt-cards-box {
    max-width: initial;
    gap: 30px;
  }

  .prop-mgmt-card {
    width: calc(33.33% - 20px);
  }
}

/* ---------- Intercom / СКУД Section ---------- */
.prop-mgmt-intercom-section {
  position: relative;
}

.prop-mgmt-intercom-section .section-title {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.prop-mgmt-intercom-text {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 30px;
}

.prop-mgmt-intercom-logo {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
}

.prop-mgmt-intercom-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.prop-mgmt-intercom-btn {
  width: 100%;
  max-width: 339px;
  height: 60px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .prop-mgmt-intercom-section .section-title {
    max-width: 710px;
  }

  .prop-mgmt-intercom-text {
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
  }

  .prop-mgmt-intercom-btn {
    max-width: initial;
    width: auto;
    height: 76px;
    font-size: 20px;
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (min-width: 1200px) {
  .prop-mgmt-intercom-section .section-title {
    max-width: initial;
    text-align: left;
  }

  .prop-mgmt-intercom-text {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .prop-mgmt-intercom-logo {
    float: right;
    width: 440px;
    height: 440px;
    margin: 0 0 16px 40px;
  }

  .prop-mgmt-intercom-btn-wrap {
    justify-content: flex-start;
    clear: both;
  }
}
