/* Gifting — Hero with guide form. Scoped to .hk-ghero; reuses theme fonts (FreightBig Pro / Now). */
.hk-ghero {
  --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: #b8922a;
}
.hk-ghero,
.hk-ghero * {
  box-sizing: border-box;
}
.hk-ghero {
  position: relative;
  background: var(--hk-navy) center/cover no-repeat;
  padding-top: clamp(50px, 4.861vw, 70px);
  padding-bottom: clamp(50px, 5.555vw, 80px);
  overflow: hidden;
}
/* Overlay — keeps the copy readable over the background image */
.hk-ghero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 26, 38, 0.88) 0%,
    rgba(4, 26, 38, 0.72) 45%,
    rgba(4, 26, 38, 0.5) 100%
  );
  pointer-events: none;
}
.hk-ghero__wrap {
  position: relative;
  z-index: 1;
  max-width: 1441px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 73px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 510px);
  gap: clamp(30px, 4.166vw, 60px);
  align-items: start;
}

/* Left column */
.hk-ghero__eyebrow {
  display: block;
  font-family: var(--hk-font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hk-gold);
  margin: 0 0 18px;
}
.hk-ghero__title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 400 !important;
  font-size: clamp(34px, 3.4vw, 49px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 clamp(20px, 2.083vw, 30px);
  max-width: 500px;
}
.hk-ghero__text {
  font-family: var(--hk-font-body);
  font-size: 16px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 590px;
}
.hk-ghero__text p {
  margin: 0 0 16px;
}
.hk-ghero__text p:last-child {
  margin-bottom: 0;
}

/* "Here's how it works" box */
.hk-ghero__how {
  margin-top: clamp(28px, 2.777vw, 40px);
  max-width: 560px;
  padding: clamp(20px, 1.944vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
}
.hk-ghero__how-title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  line-height: 30px !important;
  color: var(--hk-gold);
  margin: 0 0 12px;
}
.hk-ghero__how-text {
  font-family: var(--hk-font-body);
  font-size: 15px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.8);
}
.hk-ghero__how-text p {
  margin: 0 0 14px;
}
.hk-ghero__how-text p:last-child {
  margin-bottom: 0;
}

/* Right column — form card */
.hk-ghero__card {
  position: sticky;
  top: 110px;
  padding: clamp(22px, 2.083vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hk-ghero__card-title {
  font-family: var(--hk-font-headline) !important;
  font-weight: 400 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  color: #fff;
  margin: 0 0 8px;
}
.hk-ghero__card-sub {
  font-family: var(--hk-font-body);
  font-size: 14px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px;
}
.hk-ghero__card-note,
.hk-ghero__card-legal {
  font-family: var(--hk-font-body);
  font-size: 12px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}
.hk-ghero__card-legal {
  font-style: italic;
}
.hk-ghero__card-note p,
.hk-ghero__card-legal p {
  margin: 0 0 8px;
}
.hk-ghero__card-note p:last-child,
.hk-ghero__card-legal p:last-child {
  margin-bottom: 0;
}
.hk-ghero__card-legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* Form fields — styles the embedded form (CF7 / Klaviyo) */
.hk-ghero__form label {
  display: block;
  font-family: var(--hk-font-body);
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 6px;
}
.hk-ghero__form input[type="text"],
.hk-ghero__form input[type="email"],
.hk-ghero__form input[type="tel"],
.hk-ghero__form select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-family: var(--hk-font-body);
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hk-ghero__form input[type="text"]:focus,
.hk-ghero__form input[type="email"]:focus,
.hk-ghero__form input[type="tel"]:focus {
  border-color: var(--hk-gold);
  background: rgba(255, 255, 255, 0.1);
}
.hk-ghero__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.hk-ghero__form input[type="submit"],
.hk-ghero__form button[type="submit"] {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  font-family: var(--hk-font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hk-navy);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hk-ghero__form input[type="submit"]:hover,
.hk-ghero__form button[type="submit"]:hover {
  background: var(--hk-gold);
  border-color: var(--hk-gold);
}
.hk-ghero__form .wpcf7-form p {
  margin: 0 0 16px;
}
.hk-ghero__form .wpcf7-not-valid-tip {
  font-family: var(--hk-font-body);
  font-size: 12px;
  color: #e88;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
}
.hk-ghero__form .wpcf7-response-output {
  font-family: var(--hk-font-body);
  font-size: 13px;
  line-height: 20px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3) !important;
  margin: 12px 0 0 !important;
  padding: 10px 12px !important;
}

/* Klaviyo embed — force the submit button to full width.
   Markup: [data-testid="form-row"] > [data-testid="form-component"] > button.klaviyo-form-button */
.hk-ghero__form [data-testid="form-row"] {
  width: 100% !important;
}
.hk-ghero__form [data-testid="form-row"] > [data-testid="form-component"] {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: none !important;
}
.hk-ghero__form .klaviyo-form-button {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 46px !important;
  font-family: var(--hk-font-body) !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--hk-navy) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hk-ghero__form .klaviyo-form-button:hover {
  background: var(--hk-gold) !important;
  border-color: var(--hk-gold) !important;
}

/* Two fields side by side (first / last name) */
.hk-ghero__form .hk-ghero__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 991px) {
  .hk-ghero::before {
    background: rgba(4, 26, 38, 0.82);
  }
  .hk-ghero__wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hk-ghero__card {
    position: static;
  }
  .hk-ghero__title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hk-ghero__form .hk-ghero__row {
    grid-template-columns: 1fr;
  }
}
