/* ==========================================================================
   Услуги связи для застройщиков — services-for-developers.css
   ========================================================================== */

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

.developers-hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  min-height: 350px;
  object-fit: cover;
}

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

.developers-hero-text {
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}

.developers-hero-illustration {
  width: 100%;
  max-width: 280px;
  flex-shrink: 0;
}

.developers-hero-illustration__img {
  display: block;
  width: 100%;
  height: auto;
}

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

.developers-steps-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.developers-step-card__badge {
  position: absolute;
  top: -19px;
  left: 29px;
  background-color: var(--color-orange-light);
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
  padding: 10px 20px;
  border-radius: 4px;
}

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

.developers-step-card__list {
  margin: 0;
  padding-left: 21px;
  list-style: disc;
}

.developers-step-card__list li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.developers-step-card__list li::marker {
  font-size: 10px;
}

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

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

@media (min-width: 768px) {
  .developers-hero-bg {
    min-height: 600px;
  }

  .developers-hero-top {
    gap: 40px;
    margin-bottom: 60px;
  }

  .developers-hero-illustration {
    max-width: 400px;
  }

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

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

  .developers-step-card {
    width: calc(50% - 10px);
    padding: 50px 30px 30px;
    gap: 30px;
  }

  .developers-step-card__title {
    font-size: 24px;
  }

  .developers-step-card__list li {
    font-size: 16px;
  }

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

@media (min-width: 1200px) {
  .developers-hero-bg {
    min-height: 800px;
  }

  .developers-hero-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 80px;
  }

  .developers-hero-text {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .developers-hero-text .section-title {
    text-align: left;
  }

  .developers-hero-text__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
  }

  .developers-hero-illustration {
    width: auto;
    max-width: min(45vw, 652px);
    flex: 0 0 auto;
  }

  .developers-steps-box {
    max-width: initial;
    gap: 30px;
  }

  .developers-step-card {
    width: calc(33.33% - 20px);
  }

  .developers-step-card:nth-child(4),
  .developers-step-card:nth-child(5) {
    width: calc(50% - 15px);
  }
}

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

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

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

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

.developers-intercom-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.developers-intercom-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.developers-intercom-feature__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.developers-intercom-feature__text {
  font-size: 14px;
  line-height: 1.5;
}

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

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

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

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

  .developers-intercom-logo {
    width: 180px;
    height: 180px;
  }

  .developers-intercom-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .developers-intercom-feature {
    width: calc(50% - 15px);
  }

  .developers-intercom-feature__text {
    font-size: 14px;
  }

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

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

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

  .developers-intercom-features {
    max-width: initial;
    flex-wrap: nowrap;
    gap: 20px;
    clear: both;
  }

  .developers-intercom-feature {
    flex: 1;
    width: auto;
  }

  /* Логотип справа — заголовок и абзац слева обтекают его (по макету), без перекрытия */
  .developers-intercom-logo {
    float: right;
    width: 300px;
    height: 300px;
    margin: 0 0 16px 40px;
  }

  .developers-intercom-btn-wrap {
    clear: both;
  }
}

/* ---------- Categories Section ---------- */
.developers-categories-section {
  position: relative;
}

.developers-categories-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.developers-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #EBECF0;
  background: #fff;
  min-height: 114px;
}

.developers-category-card__title {
  font-size: 18px;
  line-height: 1.5;
}

.developers-category-card__icon {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  background-color: var(--color-orange-light);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.developers-category-card__icon img {
  width: 46px;
  height: 46px;
}

@media (min-width: 768px) {
  .developers-categories-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .developers-category-card {
    width: calc(50% - 10px);
    min-height: 217px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    position: relative;
  }

  .developers-category-card__icon {
    position: absolute;
    top: 30px;
    right: 30px;
  }

  .developers-category-card__title {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  .developers-categories-box {
    max-width: initial;
    gap: 30px;
  }

  .developers-category-card {
    width: calc(25% - 22.5px);
  }
}

/* ---------- Low-voltage Systems Section ---------- */
.developers-lowvolt-section {
  position: relative;
}

.developers-lowvolt-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.developers-lowvolt-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.developers-lowvolt-card__title {
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-orange-light);
  margin: 0;
}

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

@media (min-width: 768px) {
  .developers-lowvolt-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .developers-lowvolt-card {
    width: calc(50% - 10px);
    padding: 30px;
    gap: 30px;
  }

  .developers-lowvolt-card__title {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  .developers-lowvolt-box {
    max-width: initial;
    gap: 30px;
  }

  .developers-lowvolt-card {
    width: calc(33.33% - 20px);
  }
}

/* ---------- Licenses Section ---------- */
.developers-licenses-section {
  position: relative;
}

.developers-licenses-section .section-title {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.developers-licenses-text {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 30px;
}

.developers-licenses-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.developers-license-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  min-height: 480px;
  overflow: hidden;
}

.developers-licenses-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

.developers-licenses-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .developers-licenses-section .section-title {
    max-width: initial;
  }

  .developers-licenses-text {
    font-size: 20px;
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .developers-license-card {
    width: calc(50% - 10px);
    min-height: 488px;
  }

  .developers-licenses-btn {
    max-width: initial;
    width: auto;
    height: 76px;
    font-size: 20px;
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 1200px) {
  .developers-licenses-box {
    max-width: initial;
    gap: 30px;
  }

  .developers-license-card {
    width: calc(33.33% - 20px);
  }
}

/* ---------- Projects Section ---------- */
.developers-projects-section {
  position: relative;
}

.developers-projects-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.developers-project-card {
  border-radius: 16px;
  border: 1px solid #EBECF0;
  background: #fff;
  overflow: hidden;
}

.developers-project-card__img {
  width: 100%;
  height: 261px;
  object-fit: cover;
  border-bottom: 1px solid #EBECF0;
}

.developers-project-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.developers-project-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.developers-project-card__list-item {
  display: flex;
  align-items: flex-start;
  column-gap: 8px;
}

.developers-project-card__list-item::before {
  content: ">";
  flex-shrink: 0;
  color: var(--color-orange-light);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
}

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

@media (min-width: 768px) {
  .developers-projects-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .developers-project-card {
    width: calc(50% - 10px);
  }

  .developers-project-card__img {
    height: 265px;
  }

  .developers-project-card__content {
    padding: 30px;
  }

  .developers-project-card__title {
    font-size: 24px;
  }

  .developers-project-card__text {
    font-size: 16px;
  }

  .developers-project-card__list-item::before {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .developers-projects-box {
    max-width: initial;
    gap: 30px;
  }

  .developers-project-card {
    width: calc(33.33% - 20px);
  }

  .developers-project-card__img {
    height: 315px;
  }
}

/* ---------- Connection Stages Section ---------- */
.developers-stages-section {
  position: relative;
}

.developers-stages-box {
  display: flex;
  flex-direction: column;
}

.developers-stage-item {
  display: flex;
  flex-direction: column;
}

.developers-stage-item__top {
  display: flex;
  align-self: flex-start;
  padding-left: 20px;
  top: 18px;
  position: relative;
  z-index: -1;
}

.developers-stage-item__number {
  color: #FCDFB9;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 6px;
}

.developers-stage-item__number-text {
  color: #FCDFB9;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  top: 3px;
  position: relative;
  margin-left: 2px;
}

.developers-stage-item__bottom {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #EBECF0;
  background-color: #FFF;
}

.developers-stage-item__title {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.developers-stage-item__text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Телефон в карточке «Обращение» — как текст этапа, не крупный акцент */
.developers-stage-item__bottom a[href^="tel:"] {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
  display: inline-block;
  text-decoration: none;
}

.developers-stages-section .brand-btn-leaky {
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
  font-size: 13px;
  font-weight: 500;
  margin-top: 5px;
  max-width: 285px;
}

.developers-stages-section .brand-btn-leaky:hover {
  color: #fff;
}

.developers-service-card {
  background: #fff;
  border: 1px solid #EBECF0;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .developers-stages-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .developers-stage-item {
    width: calc(50% - 10px);
  }

  .developers-stage-item__number {
    font-size: 80px;
  }

  .developers-stage-item__number-text {
    font-size: 30px;
  }

  .developers-stage-item__bottom {
    padding: 30px;
  }

  .developers-stage-item__title {
    font-size: 24px;
  }

  .developers-stage-item__text {
    font-size: 16px;
  }

  .developers-stage-item__bottom a[href^="tel:"] {
    font-size: 16px;
  }

  .developers-service-card {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    padding: 50px 40px;
  }
}

@media (min-width: 1350px) {
  /* Этапы 3×2 + карточка «Служба Сервиса» в 4-й колонке на всю высоту (как в макете) */
  .developers-stages-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 500px);
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: stretch;
  }

  .developers-stages-box {
    display: contents;
    column-gap: unset;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .developers-stage-item {
    width: auto;
    max-width: none;
  }

  .developers-stage-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .developers-stage-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .developers-stage-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .developers-stage-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .developers-stage-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .developers-stage-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .developers-stage-item__top {
    padding-left: 30px;
    top: 22px;
  }

  .developers-service-card {
    grid-column: 4;
    grid-row: 1 / span 2;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
    height: auto;
  }
}

/* ---------- Order Form Section ---------- */
.developers-order-form-section {
  position: relative;
}

.developers-order-form-box {
  background-color: var(--color-orange-light);
  border-radius: 20px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.developers-order-form-box__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

.developers-order-form-content {
  z-index: 2;
  position: relative;
}

.developers-order-form-content .section-title {
  color: #fff;
  font-size: 23px;
  margin-bottom: 20px;
}

.developers-order-form-subtext {
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.developers-order-form-plane {
  width: calc(100% + 20px);
  left: 0;
  position: relative;
  margin: 20px 0;
}

.developers-order-form-subtitle {
  margin-top: 10px;
  color: #FFF;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.developers-order-form-box .plus-list li {
  font-size: 14px;
}

.developers-order-form-box .brand-btn-leaky {
  margin-top: 20px;
  border-color: #fff;
  color: #fff;
  font-size: 20px;
  height: 76px;
  width: 100%;
}

.developers-order-form-box .brand-btn-leaky:hover {
  border-color: var(--color-orange);
}

.developers-order-form-plane-desc {
  display: none;
}

.developers-order-form-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.developers-order-form-privacy__checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-orange);
  border-radius: 4px;
  background-color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.developers-order-form-privacy__checkbox svg {
  width: 16px;
  height: 16px;
}

.developers-order-form-privacy__text {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.developers-order-form-privacy__text a {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 500px) {
  .developers-order-form-content .section-title {
    font-size: 35px;
  }

  .developers-order-form-box {
    padding: 60px 50px;
  }

  .developers-order-form-box .plus-list li {
    font-size: 20px;
  }

  .developers-order-form-subtitle {
    font-size: 30px;
  }

  .developers-order-form-plane {
    width: calc(100% + 50px);
    margin-bottom: 30px;
  }

  .developers-order-form-box .brand-btn-leaky {
    margin-top: 50px;
  }

  .developers-order-form-subtitle {
    margin-bottom: 30px;
  }
}

@media (min-width: 700px) {
  .developers-order-form-subtext {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .developers-order-form-content .section-title {
    font-size: 48px;
  }

  .developers-order-form-box {
    border-radius: 40px;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 1000px) {
  .developers-order-form-content .section-title {
    font-size: 52px;
    text-align: left;
    margin-bottom: 40px;
  }

  .developers-order-form-subtext {
    text-align: left;
    margin-bottom: 40px;
  }

  .developers-order-form-box .brand-btn-leaky {
    width: max-content;
    margin-left: 0;
  }

  .developers-order-form-box {
    padding: 100px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .developers-order-form-box .developers-order-form-plane {
    display: none;
  }

  .developers-order-form-plane-desc {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    aspect-ratio: 772/549;
  }
}
