/* ==================== ОСНОВНЫЕ СТИЛИ БЛОКА ОСТАВАЙТЕСЬ НА СВЯЗИ ==================== */
.stay-connected-section {
  max-width: 1290px;
  margin: 100px auto 0;
  padding: 0 20px;
  background-color: #ffffff;
  text-align: center;
}

.stay-connected-title {
  color: var(--Heading, #24272C);
  text-align: center;
  font-family: Onest;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 8px;
}

.stay-connected-subtitle {
  color: var(--Heading, #24272C);
  text-align: center;
  font-family: Onest;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 40px;
}

.stay-connected-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.stay-connected-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex: 1;
}

.card-plaska {
  display: flex;
  width: 100%;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  border-radius: 16px;
  border: 1px solid var(--Line, #EDEDED);
  background: var(--White, #FFF);
}
/*
.card-plaska:hover {
  border-radius: 16px;
  background: var(--White, #FFF);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.10);
}
*/
.card-plaska-title {
  color: var(--Heading, #24272C);
  font-family: Onest;
  font-size: 23px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  flex: 1 0 0;
}

.card-plaska-text {
  color: var(--Text, #696665);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  text-align: left;
  align-self: stretch;
}

.card-plaska-btn {
  display: flex;
  width: 204px;
  height: 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--Main-color, #FC0);
  border: none;
  color: var(--Heading, #24272C);
  font-family: Onest;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

.card-plashka-arrow {
  width: 20px;
  height: 20px;
}

.card-modem {
  width: 100%;
  height: auto;
  max-width: 410px;
  margin: 0 auto;
}

/* ==================== АДАПТИВНЫЕ СТИЛИ БЛОКА ОСТАВАЙТЕСЬ НА СВЯЗИ ==================== */

/* Для экранов 1400px - уменьшаем отступы */
@media (max-width: 1400px) {
  .stay-connected-section {
    max-width: 1100px;
  }

  .card-plaska {
    padding: 25px;
  }

  .card-plaska-title {
    font-size: 22px;
  }
}

/* Для экранов 1280px - корректируем */
@media (max-width: 1280px) {
  .stay-connected-section {
    max-width: 1100px;
  }

  .card-plaska {
    padding: 20px;
    gap: 20px;
  }

  .card-plaska-title {
    font-size: 20px;
  }

  .card-plaska-text {
    font-size: 13px;
  }

  .card-plaska-btn {
    width: 180px;
    height: 45px;
    font-size: 14px;
  }

  .card-modem {
    max-width: 350px;
  }

  .stay-connected-title {
    font-size: 36px;
  }

  .stay-connected-subtitle {
    font-size: 22px;
  }
}

/* Для экранов 1024px - сохраняем структуру, уменьшаем размеры */
@media (max-width: 1024px) {
  .stay-connected-section {
    max-width: 95%;
    padding: 0 15px;
    margin: 80px auto 0;
  }

  .stay-connected-title {
    font-size: 32px;
  }

  .stay-connected-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .stay-connected-grid {
    gap: 20px;
  }

  .card-plaska {
    padding: 20px;
    gap: 15px;
  }

  .card-plaska-title {
    font-size: 18px;
  }

  .card-plaska-text {
    font-size: 12px;
  }

  .card-plaska-btn {
    width: 160px;
    height: 42px;
    font-size: 13px;
  }

  .card-modem {
    max-width: 300px;
  }
}

/* Для экранов 768px - мобильные устройства (изменяем порядок) */
@media (max-width: 768px) {
  .stay-connected-section {
    margin: 60px auto 0;
    padding: 0 15px;
  }
  
  .stay-connected-title {
    font-size: 28px;
  }
  
  .stay-connected-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .stay-connected-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  
  .stay-connected-card:nth-child(2) {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .stay-connected-card:first-child,
  .stay-connected-card:last-child {
    order: 2;
    width: 100%;
  }
  
  .stay-connected-card:first-child {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .stay-connected-card:last-child {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .card-modem {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  
  .card-plaska {
    width: 100%;
    padding: 20px;
    gap: 15px;
  }
  
  .card-plaska-title {
    font-size: 18px;
  }
  
  .card-plaska-text {
    font-size: 12px;
  }
  
  .card-plaska-btn {
    width: 100%;
    max-width: none;
    height: 45px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
}