.rent-enquiry {
  background: #eef4f9;
  border-block: 1px solid #dde7f1;
  padding-block: clamp(48px, 7vw, 98px);
}
.rent-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(30px, 7vw, 110px);
}
.rent-enquiry-intro { padding-top: 15px; max-width: 405px; }
.rent-enquiry-intro h2 { font-size: clamp(34px, 4vw, 61px); line-height: 1.08; }
.rent-enquiry-intro h2 span { color: var(--blue); }
.rent-enquiry-intro > p { margin-top: 18px; max-width: 355px; color: #50627a; font-size: 16px; line-height: 1.65; }
.rent-enquiry-phone {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  color: var(--blue);
}
.rent-phone-symbol {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 1px solid #c7d9e9;
  border-radius: 50%;
  background: white;
}
.rent-enquiry-phone small, .rent-enquiry-phone strong { display: block; }
.rent-enquiry-phone small { color: #50627a; font-size: 12px; }
.rent-enquiry-phone strong { font-family: var(--display); font-size: 21px; letter-spacing: -.025em; }
.rent-enquiry-phone:hover strong { text-decoration: underline; }
.rent-enquiry-card {
  padding: clamp(22px, 3.4vw, 45px);
  background: white;
  border: 1px solid #d7e3ed;
  border-radius: 20px;
  box-shadow: 0 10px 32px #17315508;
  min-width: 0;
}
.rent-enquiry-group { margin: 0; min-width: 0; padding: 0; border: 0; }
.rent-enquiry-group + .rent-enquiry-group { margin-top: 26px; }
.rent-enquiry-group legend {
  float: left;
  width: 100%;
  padding: 0 0 13px;
  margin: 0 0 16px;
  border-bottom: 1px solid #dce5ee;
  font: 700 clamp(19px, 1.45vw, 23px)/1.25 var(--display);
  letter-spacing: -.035em;
  color: var(--ink);
}
.rent-fields {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 15px;
}
.rent-field { min-width: 0; }
.rent-field-wide, #rent-pickup-field:not(.has-town) { grid-column: 1/-1; }
.rent-field label, .rent-draft > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  color: #293e55;
}
.rent-field label small { font-size: 12px; font-weight: 400; color: #52677c; }
.rent-required { color: var(--blue); }
.rent-enquiry-group :is(input, select, textarea), .rent-draft textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  min-height: 45px;
  border: 1px solid #aebed0;
  border-radius: 7px;
  background-color: #fff;
  color: var(--ink);
  font: 400 15px/1.4 var(--font);
  color-scheme: light;
}
.rent-enquiry-group select { padding-right: 6px; }
.rent-enquiry-group textarea, .rent-draft textarea { resize: vertical; }
.rent-enquiry-group textarea::placeholder { color: #677788; }
.rent-enquiry-group :is(input, select, textarea):focus, .rent-draft textarea:focus {
  border-color: var(--blue);
  outline: 3px solid #98deef;
  outline-offset: 1px;
}
.rent-enquiry-group :user-invalid { border-color: #ad3c3c; }
.rent-enquiry .rent-field-hint, .rent-enquiry .rent-group-hint, .rent-enquiry-submit p {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #51677a;
}
.rent-field-hint { margin-top: 5px; }
.rent-group-hint { clear: both; margin-bottom: 14px; }
.rent-enquiry-submit { margin-top: 22px; }
.rent-enquiry .button { min-height: 46px; font-size: 14px; }
.rent-enquiry .button .icon { width: 18px; height: 18px; }
.rent-enquiry-submit p { margin-top: 10px; }
.rent-draft h3 { color: var(--ink); font-size: clamp(23px, 2.2vw, 31px); }
.rent-draft h3:focus { outline: none; }
.rent-draft > p { margin: 10px 0; color: #50627a; font-size: 14px; }
.rent-draft-to {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding-block: 15px;
  margin-block: 14px;
  border-block: 1px solid #dce5ee;
  font-size: 14px;
}
.rent-draft-to span { color: #52677c; }
.rent-draft-to a, .rent-enquiry-card noscript a { color: var(--blue); overflow-wrap: anywhere; text-decoration: underline; }
.rent-draft textarea { background: #f8fafc; white-space: pre-wrap; }
.rent-draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rent-draft .rent-edit { min-height: 42px; color: var(--blue); padding: 0; text-decoration: underline; font: 600 13px var(--font); }
@media (max-width: 800px) {
  .rent-enquiry-layout { grid-template-columns: 1fr; gap: 24px; }
  .rent-enquiry-intro { padding-top: 0; max-width: none; }
  .rent-enquiry-intro > p { max-width: 540px; }
  .rent-enquiry-phone { margin-top: 14px; }
}
@media (max-width: 540px) {
  .rent-enquiry-card { padding: 20px 16px; border-radius: 15px; }
  .rent-fields { grid-template-columns: 1fr; gap: 13px; }
  .rent-enquiry-group :is(input, select, textarea), .rent-draft textarea { font-size: 16px; }
  .rent-enquiry-submit .button, .rent-draft-actions .button { width: 100%; }
}
