/* ==========================================================================
   hardiefinancegroup.com.au — paid-traffic landing pages (/lp/*)
   Loaded AFTER /styles.css, which supplies the design tokens and base type.
   These pages deliberately drop the site nav: one page, one conversion path.
   ========================================================================== */

/* ---- Minimal header ------------------------------------------------------ */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.lp-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .55rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lp-header__logo img { display: block; width: 56px; height: 56px; }
.lp-header__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-primary);
  text-decoration: none;
  white-space: nowrap;
}
.lp-header__phone svg { width: 18px; height: 18px; flex: 0 0 18px; }
.lp-header__phone span { display: none; }

@media (min-width: 560px) {
  .lp-header__phone span { display: inline; }
}

/* ---- Hero: message panel + form card ------------------------------------- */
.lp-hero {
  position: relative;
  background: var(--brand-primary);
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lp-hero-bg, none) center / cover no-repeat;
  opacity: .28;
}
.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,35,66,.94) 0%, rgba(10,35,66,.72) 55%, rgba(26,67,117,.68) 100%);
}
.lp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.25rem var(--pad) 2.5rem;
  display: grid;
  gap: 1.75rem;
}
.lp-hero__copy .eyebrow { color: #D4B26B; }
.lp-hero__copy h1 {
  color: var(--white);
  margin: .3rem 0 .75rem;
  font-size: clamp(1.85rem, 5.6vw, 2.9rem);
  line-height: 1.12;
}
.lp-hero__copy .lp-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 0 1.4rem;
}

/* Three credibility tiles. Deliberately terse: on paid traffic the click has
   already signalled intent, so the job here is reassurance, not persuasion. */
.lp-props {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.lp-prop {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: .9rem .65rem;
  text-align: center;
}
.lp-prop svg {
  width: 22px; height: 22px;
  color: #7FD1A8;
}
.lp-prop span {
  display: block;
  margin-top: .4rem;
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

/* Adrian credibility chip */
.lp-broker {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  max-width: 27rem;
}
.lp-broker img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 52px;
}
.lp-broker p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.4; }
.lp-broker strong { display: block; color: var(--white); font-size: .96rem; }

/* ---- The qualifier form card --------------------------------------------- */
.lp-form-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 50px rgba(6,20,40,.28);
  overflow: hidden;
}
.lp-form-card__head {
  padding: 1.2rem 1.35rem 1.1rem;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-primary) 100%);
  color: var(--white);
}
.lp-form-card__head h2 {
  color: var(--white);
  margin: 0 0 .3rem;
  font-size: 1.3rem;
  line-height: 1.25;
}
.lp-form-card__head p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); }

.lp-form { padding: 1.35rem; }

/* Numbered field groups */
.lp-fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; }
.lp-fieldset:last-of-type { margin-bottom: 1.1rem; }
.lp-fieldset__legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin-bottom: .9rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand-primary);
}
.lp-fieldset__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0;
}
.lp-fieldset__rule { flex: 1; height: 1px; background: var(--line); }

.lp-field { margin-bottom: .9rem; }
.lp-field:last-child { margin-bottom: 0; }
.lp-field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .3rem;
}
.lp-req { color: var(--gold); }
.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
/* Native select arrow, drawn so it matches across browsers */
.lp-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 18px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.lp-field textarea { min-height: 84px; resize: vertical; }
.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(10,35,66,.15);
}
.lp-field.is-invalid input,
.lp-field.is-invalid select {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.lp-field__err {
  display: none;
  margin: .35rem 0 0;
  font-size: .82rem;
  font-weight: 500;
  color: #B91C1C;
}
.lp-field.is-invalid .lp-field__err { display: block; }

/* Two-up rows on wider cards */
@media (min-width: 480px) {
  .lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
  .lp-row .lp-field { margin-bottom: .9rem; }
}

.lp-submit {
  width: 100%;
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--brand-forest);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s var(--ease), transform .1s var(--ease);
}
.lp-submit:hover { background: #256B29; }
.lp-submit:active { transform: scale(.985); }
.lp-submit[disabled] { opacity: .65; cursor: progress; }

.lp-form__hint {
  margin: .7rem 0 0;
  font-size: .82rem;
  color: var(--mute);
  text-align: center;
  line-height: 1.5;
}
.lp-form__alert {
  display: none;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  color: #991B1B;
  font-size: .88rem;
}
.lp-form__alert.is-shown { display: block; }
.lp-form__alert a { color: #991B1B; font-weight: 600; }

@media (min-width: 900px) {
  .lp-hero__inner {
    grid-template-columns: 1fr minmax(400px, 460px);
    gap: 3rem;
    align-items: start;
    padding: 3.25rem var(--pad) 3.75rem;
  }
  .lp-hero__copy { padding-top: .75rem; }
}

/* ---- Compliance / trust strip -------------------------------------------- */
.lp-trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}
.lp-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  text-align: center;
}
.lp-trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--brand-primary);
}
.lp-trust__item span {
  display: block;
  font-size: .8rem;
  color: var(--slate);
  margin-top: .15rem;
}
@media (min-width: 720px) {
  .lp-trust__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- What we finance ----------------------------------------------------- */
.lp-tiles { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.lp-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.lp-tile svg { width: 30px; height: 30px; color: var(--teal-deep); }
.lp-tile h3 { margin: .6rem 0 .35rem; font-size: 1.08rem; }
.lp-tile p { margin: 0; font-size: .93rem; color: var(--slate); }
@media (min-width: 620px) { .lp-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .lp-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ---- How it works -------------------------------------------------------- */
.lp-steps { display: grid; gap: 1.5rem; counter-reset: lpstep; }
.lp-step { display: flex; gap: 1rem; align-items: flex-start; }
.lp-step__num {
  counter-increment: lpstep;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.lp-step__num::before { content: counter(lpstep); }
.lp-step h3 { margin: .35rem 0 .3rem; font-size: 1.08rem; }
.lp-step p { margin: 0; font-size: .95rem; color: var(--slate); }
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---- FAQ ----------------------------------------------------------------- */
.lp-faq { max-width: 46rem; margin: 0 auto; }
.lp-faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .75rem;
}
.lp-faq summary {
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-primary);
  line-height: 1;
}
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details > div { padding: 0 1.2rem 1.2rem; color: var(--slate); font-size: .95rem; }
.lp-faq details > div p:first-child { margin-top: 0; }

/* ---- Closing CTA --------------------------------------------------------- */
.lp-close {
  background: var(--brand-primary);
  color: rgba(255,255,255,.88);
  text-align: center;
  padding: 3rem 0;
}
.lp-close h2 { color: var(--white); }
.lp-close p { max-width: 48ch; margin: 0 auto 1.4rem; color: rgba(255,255,255,.88); }
.lp-close__btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Route to the full service page, placed straight after the "what we arrange"
   tiles: high enough that a single scroll reaches it, and at the moment the
   visitor has just read what we do and may want the detail before enquiring. */
.lp-more-cta { margin: 2rem 0 0; text-align: center; }
.lp-more-cta .btn { padding: .9rem 1.8rem; }

/* ---- Minimal footer ------------------------------------------------------ */
.lp-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.62);
  padding: 2.25rem 0 6rem;   /* bottom padding clears the mobile sticky bar */
  font-size: .82rem;
  line-height: 1.6;
}
.lp-footer p { margin: 0 0 .7rem; max-width: 78ch; }
.lp-footer a { color: rgba(255,255,255,.82); }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
@media (min-width: 720px) { .lp-footer { padding-bottom: 2.25rem; } }

/* ---- Mobile sticky action bar -------------------------------------------- */
.lp-stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.lp-stickybar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  text-align: center;
}
.lp-stickybar svg { width: 18px; height: 18px; flex: 0 0 18px; }
.lp-stickybar .lp-sb-call {
  background: var(--white);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.lp-stickybar .lp-sb-form { background: var(--brand-forest); color: var(--white); }
@media (min-width: 720px) { .lp-stickybar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .lp-submit, .lp-field input, .lp-field select, .lp-field textarea { transition: none; }
}
