* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #0b5d33;
  color: #000;
  margin: 0;
  min-height: 100vh;
}

.page-wrap {
  width: 100%;
  padding: 24px 16px 40px;
}

.guest-form,
form {
  background-color: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  color: #1d3528;
}

.field-group {
  margin-bottom: 18px;
}

.bot-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

input[type="text"],
input[type="password"],
input[type="file"],
input[type="tel"] {
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  border: 1px solid #d4b24c;
  border-radius: 5px;
  color: #1b1b1b;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="file"]:focus,
input[type="tel"]:focus {
  border-color: #8f6b00;
  box-shadow: 0 0 0 3px rgba(212, 178, 76, 0.24);
  outline: none;
}

input[type="submit"] {
  background-color: #c99a16;
  color: #fff;
  padding: 12px 22px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  min-height: 46px;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: #8b5e1f;
}

.form-heading {
  margin-bottom: 24px;
}

.form-title {
  text-align: center;
  color: #0b5d33;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.form-description {
  text-align: center;
  color: #4d5b52;
  line-height: 1.55;
  margin: 12px auto 0;
  max-width: 620px;
  width: 100%;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 4px solid #c99a16;
  min-height: 120px;
  padding: 14px 16px;
}

#header-img {
  display: block;
  width: min(100%, 980px);
  max-height: 260px;
  object-fit: contain;
}

.form-actions {
  margin-top: 8px;
}

@media screen and (max-width: 600px) {
  .page-wrap {
    padding: 16px 12px 28px;
  }

  .guest-form,
  form {
    padding: 20px 16px;
  }

  .form-title {
    font-size: 22px;
  }

  .form-description {
    font-size: 14px;
  }

  .header-wrap {
    min-height: 96px;
    padding: 10px 12px;
  }

  #header-img {
    max-height: 180px;
  }
}
