.measurement-form-wrapper {
  background-color: #2b1f1d;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: left;
  margin: 20px auto;
  max-width: 100%;
  color: white;
  height: 285px;
  overflow: hidden;
}

.measurement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  transform: scale(0.85);
  transform-origin: top center;
  height: 155px;
}

.measurement-text {
  flex: 1 1 55%;
}

.measurement-text h2 {
  color: #ffcc00;
  font-size: 35px;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.measurement-text ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
}

.measurement-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.measurement-text ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff9000;
}

.measurement-form {
  flex: 1 1 40%;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px;
  border-radius: 10px;
  color: #333;
  text-align: center;
  margin-right: 130px;
  margin-top: 35px;
}

.measurement-form h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #ff9000;
}

.measurement-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.measurement-form input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn-submit {
  padding: 10px;
  background: linear-gradient(45deg, #ffcc00, #ff9000);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: linear-gradient(45deg, #ff9000, #ffcc00);
}

.measurement-phone {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
}

.measurement-phone a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.measurement-phone a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .measurement-form-wrapper {
    position: relative;
    height: auto;
    min-height: initial;
  }

  .measurement-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
    border-radius: 12px;
  }

  .measurement-inner {
    flex-direction: column;
    align-items: stretch;
    position: relative;
    z-index: 2;
    transform: none;
    height: auto;
  }

  .measurement-form,
  .measurement-text {
    width: 100%;
    text-align: center;    
  }
}
