* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container */
.newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 24px auto 48px;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

/* Left Editorial */
.newsletter-editorial {
  padding: 60px;
  background: #111;
  color: #fff;
}

.newsletter-editorial h1 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.newsletter-editorial p {
  font-size: 15px;
  color: #ccc;
  max-width: 340px;
}

/* Right Form */
.newsletter-form {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-form h2 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.newsletter-form span {
  font-size: 13px;
  color: #777;
  margin-bottom: 30px;
}

/* Input */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-bottom: 1px solid #bbb;
  font-size: 15px;
  outline: none;
  background: transparent;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 14px;
  color: #999;
  pointer-events: none;
  transition: 0.3s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 11px;
  color: #000;
}

/* Button */
button {
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

button:hover {
  background: #222;
}

#responseMessage {
  margin-top: 15px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-wrapper {
    grid-template-columns: 1fr;
    margin: 20px;
    width: calc(100% - 40px);
  }

  .newsletter-editorial {
    padding: 40px;
  }

  .newsletter-form {
    padding: 40px;
  }

  .newsletter-editorial h1 {
    font-size: 30px;
  }
}
