/* Landings — Enquiry form (CF7) + newsletter sign-up. Scoped to .hk-lenq; reuses theme fonts (FreightBig Pro / Now). */
.hk-lenq {
  --hk-font-headline: "FreightBig Pro", Georgia, "Times New Roman", serif;
  --hk-font-body:
    "Now", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --hk-navy: #09334a;
  --hk-gold: #8c752c;
  --hk-input-line: #cbd5e1;
  --hk-error: #b42318;
}
.hk-lenq,
.hk-lenq * {
  box-sizing: border-box;
}
.hk-lenq {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  padding-block: clamp(40px, 2.604vw, 50px);
  color: var(--hk-navy);
  scroll-margin-top: 90px;
}
.hk-lenq__mark {
  position: absolute;
  left: 45.4%;
  top: 50%;
  width: 65.3%;
  aspect-ratio: 1240 / 648;
  background-color: var(--hk-gold);
  opacity: 0.1;
  -webkit-mask: url("img/h-icon.svg") no-repeat center / contain;
  mask: url("img/h-icon.svg") no-repeat center / contain;
  pointer-events: none;
}
.hk-lenq__wrap {
  position: relative;
  z-index: 1;
  max-width: 1495px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5.208vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 700fr) 1px minmax(0, 545fr);
  gap: clamp(30px, 2.604vw, 50px);
  align-items: stretch;
}
.hk-lenq--single .hk-lenq__wrap {
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
}

/* No right column: centre the section heading + text above the form */
.hk-lenq--single .hk-lenq__sechead {
  align-items: center;
  text-align: center;
}
.hk-lenq__sectext {
  max-width: 1000px;
  margin-top: 5px;
  font-family: var(--hk-font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.093vw, 21px);
  line-height: 1.65;
  color: var(--hk-navy);
}
.hk-lenq__sectext p {
  margin: 0 0 1em;
}
.hk-lenq__sectext > :last-child {
  margin-bottom: 0;
}

/* Optional section heading above both columns */
.hk-lenq__sechead {
  position: relative;
  z-index: 1;
  max-width: 1495px;
  margin: 0 auto 30px;
  padding-inline: clamp(16px, 5.208vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hk-lenq__sectitle {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600 !important;
  font-size: clamp(34px, 2.864vw, 55px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
  text-transform: none !important;
  color: var(--hk-navy);
  margin: 0;
}

/* Shared head */
.hk-lenq__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hk-lenq__eyebrow {
  font-family: var(--hk-font-body);
  font-weight: 700;
  font-size: clamp(13px, 0.781vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-gold);
}
.hk-lenq__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 600 !important;
  font-size: clamp(30px, 2.291vw, 44px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
  text-transform: none !important;
  color: var(--hk-navy);
  margin: 0;
}
.hk-lenq__text {
  font-family: var(--hk-font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.093vw, 21px);
  line-height: 1.65;
  margin: 0;
}
.hk-lenq__text p {
  margin: 0 0 1em;
}
.hk-lenq__text > :last-child {
  margin-bottom: 0;
}

/* Column anchors clear the sticky header */
.hk-lenq__card,
.hk-lenq__nl {
  scroll-margin-top: 90px;
}

/* Left card */
.hk-lenq__card {
  --hk-card-pad: clamp(24px, 2.083vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--hk-card-pad);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 3px;
}
.hk-lenq__divider {
  display: block;
  width: 1px;
  background: rgba(9, 51, 74, 0.2);
}

/* Right column */
.hk-lenq__nl {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Right column: contact details */
.hk-lenq__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hk-lenq__contact {
  display: flex;
  align-items: center;
  gap: 15px;
}
.hk-lenq__contacticon {
  flex: 0 0 auto;
  width: 47px;
  height: 47px;
  object-fit: contain;
}
.hk-lenq__contactcopy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hk-lenq__contactlabel {
  font-family: var(--hk-font-body);
  font-weight: 700;
  font-size: clamp(13px, 0.781vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-gold);
}
.hk-lenq__contactvalue {
  font-family: var(--hk-font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.3;
  color: var(--hk-navy);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.hk-lenq__contactvalue:hover,
a.hk-lenq__contactvalue:focus {
  color: var(--hk-gold);
  text-decoration: underline;
}

/* Right column: buttons */
.hk-lenq__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hk-lenq__btn {
  text-decoration: none;
}
.hk-lenq .hk-lenq__btn--outline {
  background: transparent;
  color: var(--hk-navy);
}

/* Fields — shared by the newsletter form and the CF7 form */
.hk-lenq__field,
.hk-lenq .hk-lenq__f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hk-lenq__label,
.hk-lenq .hk-lenq__f > label {
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--hk-navy);
}
.hk-lenq__input,
.hk-lenq .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio):not(.wpcf7-file) {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 17px;
  font-family: var(--hk-font-body);
  font-size: 14px;
  line-height: 1.3;
  color: var(--hk-navy);
  background-color: #fff;
  border: 1px solid var(--hk-input-line);
  border-radius: 3px;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease;
}
.hk-lenq textarea.wpcf7-form-control {
  height: 150px !important;
  padding: 15px 17px !important;
  resize: vertical;
}
.hk-lenq__input::placeholder,
.hk-lenq .wpcf7-form-control::placeholder {
  color: var(--hk-navy);
  opacity: 0.5;
}
.hk-lenq__input:focus,
.hk-lenq .wpcf7-form-control:focus {
  border-color: var(--hk-navy);
}

/* Buttons */
.hk-lenq__btn,
.hk-lenq .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 14px 20px;
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
  background: var(--hk-navy);
  border: 1px solid var(--hk-navy);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.hk-lenq__btn:hover,
.hk-lenq__btn:focus,
.hk-lenq__btn--outline:hover,
.hk-lenq__btn--outline:focus,
.hk-lenq .wpcf7-submit:hover,
.hk-lenq .wpcf7-submit:focus {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
  color: #fff;
}
.hk-lenq__btn:disabled {
  cursor: default;
  opacity: 0.7;
}
.hk-lenq__nlform.is-done .hk-lenq__btn:disabled {
  opacity: 1;
}

/* Newsletter form */
.hk-lenq__nlform {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
}
.hk-lenq__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hk-lenq__nlrow {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 15px;
}

/* Checkbox next to the button; its label shows as a tooltip on hover / focus */
.hk-lenq__check {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  cursor: help;
  outline: none;
}
.hk-lenq__box {
  position: relative;
  display: block !important;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 1px solid rgba(9, 51, 74, 0.35);
  border-radius: 3px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hk-lenq__check:focus-visible .hk-lenq__box {
  outline: 2px solid var(--hk-navy);
  outline-offset: 2px;
}
.hk-lenq__checklabel {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 2;
  width: max-content;
  max-width: 240px;
  padding: 8px 12px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #fff;
  background: var(--hk-navy);
  border-radius: 3px;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hk-lenq__checklabel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--hk-navy);
}
.hk-lenq__check:hover .hk-lenq__checklabel,
.hk-lenq__check:focus .hk-lenq__checklabel {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hk-lenq__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.hk-lenq__nlform.is-done .hk-lenq__box {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
}
.hk-lenq__nlform.is-done .hk-lenq__box::after {
  transform: rotate(45deg) scale(1);
}
.hk-lenq__nlform.is-loading .hk-lenq__btn {
  opacity: 0.7;
}
.hk-lenq__msg {
  margin: 0;
  min-height: 1.5em;
  font-family: var(--hk-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--hk-navy);
}
.hk-lenq__nlform.is-error .hk-lenq__msg {
  color: var(--hk-error);
}
.hk-lenq__nlform.is-error .hk-lenq__input {
  border-color: var(--hk-error);
}

/* CF7 form layout */
.hk-lenq .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
}
.hk-lenq .wpcf7 form > p,
.hk-lenq .wpcf7 form p {
  margin: 0;
}
.hk-lenq .wpcf7 br {
  display: none;
}
.hk-lenq .hk-lenq__row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}
.hk-lenq .wpcf7-form-control-wrap {
  display: block;
}

/* Date field: visible text input keeps the placeholder; an invisible native
   date input sits on top so a single click opens the calendar. */
.hk-lenq .wpcf7-form-control-wrap.has-hk-date {
  position: relative;
}
.hk-lenq input.hk-date {
  cursor: pointer;
}
.hk-lenq .hk-date-picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.hk-lenq .hk-date-picker::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.hk-lenq .wpcf7-form-control-wrap.has-hk-date:focus-within input.hk-date {
  border-color: var(--hk-navy);
}
/* Group headings inside the CF7 form ("Bottle details" + line) */
.hk-lenq .hk-lenq__group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.hk-lenq .wpcf7 form > .hk-lenq__group:first-child,
.hk-lenq .wpcf7 form > p:first-child .hk-lenq__group {
  margin-top: 0;
}
.hk-lenq .hk-lenq__group::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid rgba(9, 51, 74, 0.3);
}
.hk-lenq .hk-lenq__grouptitle {
  font-family: var(--hk-font-body);
  font-weight: 700;
  font-size: clamp(19px, 1.197vw, 23px);
  line-height: 1.2;
  color: var(--hk-navy);
}

/* Select fields: custom chevron */
.hk-lenq select.wpcf7-form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2309334A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  background-size: 12px 12px;
}
.hk-lenq select.wpcf7-form-control:hover {
  border-color: var(--hk-navy);
}

/* "i" helper next to a field label; the tip spans the field width above the label */
.hk-lenq .hk-lenq__f {
  position: relative;
}
.hk-lenq .hk-lenq__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: 1px;
  font-family: var(--hk-font-body);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  color: var(--hk-navy);
  border: 1px solid var(--hk-navy);
  border-radius: 50%;
  cursor: help;
  outline: none;
}
.hk-lenq .hk-lenq__info::before {
  content: "i";
}
.hk-lenq .hk-lenq__info:focus-visible {
  box-shadow: 0 0 0 2px rgba(9, 51, 74, 0.25);
}
.hk-lenq .hk-lenq__tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  padding: 10px 12px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  text-align: left;
  background: var(--hk-navy);
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(9, 51, 74, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.hk-lenq .hk-lenq__info:hover .hk-lenq__tip,
.hk-lenq .hk-lenq__info:focus .hk-lenq__tip,
.hk-lenq .hk-lenq__info.is-open .hk-lenq__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Upload drop zone: the native file input covers the whole box, so clicking
   or dropping files onto it works without a plugin */
.hk-lenq .hk-lenq__upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 160px;
  padding: 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--hk-input-line);
  border-radius: 3px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hk-lenq .hk-lenq__upload > label,
.hk-lenq .hk-lenq__upload > p > label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.hk-lenq .hk-lenq__upload > label::before,
.hk-lenq .hk-lenq__upload > p > label::before {
  content: "";
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%2309334A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20V7M10.5 12.5L16 7l5.5 5.5M7 20v5h18v-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hk-lenq .hk-lenq__uploadtitle {
  font-family: var(--hk-font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--hk-navy);
}
.hk-lenq .hk-lenq__uploadhint {
  font-family: var(--hk-font-body);
  font-size: 13px;
  color: var(--hk-navy);
  opacity: 0.5;
}
.hk-lenq .hk-lenq__uploadfiles {
  margin-top: 6px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--hk-gold);
  overflow-wrap: anywhere;
}
.hk-lenq .hk-lenq__upload .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
}
.hk-lenq .hk-lenq__upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.hk-lenq .hk-lenq__upload.is-dragover,
.hk-lenq .hk-lenq__upload:hover {
  border-color: var(--hk-navy);
}
.hk-lenq .hk-lenq__upload.is-dragover {
  background: #f7f5f0;
}
.hk-lenq .hk-lenq__upload .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
}

/* Note under the submit button */
.hk-lenq .hk-lenq__note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--hk-navy);
}
.hk-lenq .hk-lenq__note p {
  margin: 0;
}
.hk-lenq .hk-lenq__note .hk-lenq__notetitle {
  font-weight: 500;
  font-size: 15px;
}

/* Optional info box ("Independent Third-Party Valuation").
   It lives inside the CF7 form (inside the card), so it bleeds to the card
   edges and paints a 20px strip in the section colour above itself — it reads
   as a separate box under the card, as in the design. Always the last item. */
.hk-lenq .hk-lenq__notice {
  order: 99;
  display: flex;
  gap: 15px;
  margin: calc(var(--hk-card-pad) + 20px) calc(-1 * var(--hk-card-pad)) calc(-1 * var(--hk-card-pad));
  padding: 20px;
  background: transparent;
  box-shadow: 0 -20px 0 0 var(--hk-lenq-bg, #fff);
  font-family: var(--hk-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--hk-navy);
}
.hk-lenq .hk-lenq__notice::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%2309334A' stroke-width='1.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='10'/%3E%3Cpath d='M11 10v6M11 6.5v.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hk-lenq .hk-lenq__notice p {
  margin: 0;
}
.hk-lenq .hk-lenq__notice .hk-lenq__noticetitle {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: clamp(19px, 1.197vw, 23px);
  line-height: 1.2;
}

.hk-lenq .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  color: var(--hk-error);
}
.hk-lenq .wpcf7-not-valid {
  border-color: var(--hk-error) !important;
}
.hk-lenq .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 12px 15px;
  font-family: var(--hk-font-body);
  font-size: 15px;
  border-radius: 3px;
}
.hk-lenq .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .hk-lenq__wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hk-lenq__divider {
    width: 100%;
    height: 1px;
  }
}
@media (max-width: 575px) {
  .hk-lenq .hk-lenq__row {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
}
