/*!
 * Landing Page Styles
 * Theme: Overland Minerals
 * Scope: single-landing_page.php — .lp-* classes only
 * Updated: 2026
 */


/* ============================================================
   DESIGN TOKENS
   Maps to existing Overland Minerals brand palette
   ============================================================ */
:root {
  --lp-blue-dark:    #001d59;
  --lp-blue-mid:     #1c3d81;
  --lp-blue-light:   #3283df;
  --lp-orange:       #f4a623;
  --lp-white:        #ffffff;
  --lp-off-white:    #f5f7fa;
  --lp-text-dark:    #001f5f;
  --lp-text-body:    #333333;
  --lp-border:       rgba(0, 29, 89, 0.15);

  --lp-font-heading: "Futura Md BT", Arial, Helvetica, sans-serif;
  --lp-font-heavy:   "Futura Hv BT", Arial, Helvetica, sans-serif;
  --lp-font-body:    "Futura Bk BT", Arial, Helvetica, sans-serif;

  --lp-radius:       0rem;
  --lp-radius-lg:    1rem;
  --lp-max-width:    1100px;
  --lp-section-pad:  5rem 1.5rem;
}


/* ============================================================
   WRAPPER
   ============================================================ */
.landing-page-wrapper {
  font-family: var(--lp-font-body);
  color: var(--lp-text-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}
.landing-page-wrapper *,
.landing-page-wrapper *::before,
.landing-page-wrapper *::after {
  box-sizing: border-box;
}

/* ============================================================
   SHARED INNER CONTAINER
   ============================================================ */
.lp-hero__inner,
.lp-trust-bar__inner,
.lp-reasons__inner,
.lp-form__inner,
.lp-how__inner,
.lp-testimonials__inner,
.lp-faq__inner,
.lp-closing-cta__inner {
  width: 100%;
  max-width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================================
   SHARED BUTTON STYLES
   ============================================================ */
.lp-btn {
  display: inline-block;
  font-family: var(--lp-font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.lp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.lp-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.lp-btn--primary {
  background-color: var(--lp-orange);
  color: var(--lp-blue-dark);
}

.lp-btn--primary:hover {
  background-color: #e8951a;
  color: var(--lp-blue-dark);
}

.lp-btn--secondary {
  background-color: var(--lp-blue-dark);
  color: var(--lp-white);
  border: 2px solid var(--lp-blue-dark);
}

.lp-btn--secondary:hover {
  background-color: var(--lp-blue-mid);
  color: var(--lp-white);
}


/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
  position: relative;
  background-color: var(--lp-blue-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 29, 89, 0.3) 0%,
    rgba(0, 29, 89, 0.1) 60%,
    rgba(0, 29, 89, 0.05) 100%
  );
  z-index: 1;
}

.lp-hero__inner {
  position: relative;
  z-index: 2;
  padding: 3rem 0 4rem 0;
  width: 100%;
}

/* Frosted card overlay */
.lp-hero__card {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem 2.5rem 2.5rem;
  border-radius: 0;
  width: 60%;
  max-width: 60%;
  margin-left: 0;
  margin-top: 0;
}

.lp-hero__card h1 {
  font-family: "Futura Md BT", Arial, Helvetica, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #001020 !important;
  text-shadow: none !important;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.lp-hero__card p {
  font-size: 1rem;
  color: #222222 !important;
  text-shadow: none !important;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.lp-hero__card .lp-btn--primary,
.lp-hero__card .lp-btn--primary:visited,
.landing-page-wrapper .lp-hero__card .lp-btn--primary {
  background-color: #001d59 !important;
  color: #ffffff !important;
}

.lp-hero__card .lp-btn--primary:hover {
  background-color: #1c3d81 !important;
  color: #ffffff !important;
}

.lp-hero .lp-btn {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

/* ============================================================
   SECTION INNER PADDING (all sections except hero)
   ============================================================ */
.lp-trust-bar__inner,
.lp-reasons__inner,
.lp-form__inner,
.lp-how-it-works__inner,
.lp-testimonials__inner,
.lp-faq__inner,
.lp-closing-cta__inner {
  padding-left: 40px;
  padding-right: 40px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.lp-trust-bar {
  background-color: var(--lp-blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-trust-bar__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.lp-trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lp-white);
  font-family: var(--lp-font-heading);
  font-size: 0.9rem;
  white-space: nowrap;
}

.lp-trust-bar__item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Pipe separators between items */
.lp-trust-bar__item + .lp-trust-bar__item::before {
  content: "|";
  color: rgba(255, 255, 255, 0.35);
  margin-right: 0.5rem;
}


/* ============================================================
   REASONS / BENEFITS
   ============================================================ */
.lp-reasons {
  background-color: var(--lp-white);
}

.lp-reasons__inner h2 {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--lp-text-dark);
  margin: 0 0 2.5rem;
  line-height: 1.2;
}

.lp-reasons__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.lp-reasons__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
  align-items: start;
}

.lp-reasons__number {
  grid-row: 1;
  grid-column: 1;
  font-family: var(--lp-font-heavy);
  font-size: 1.125rem;
  color: var(--lp-blue-mid);
  line-height: 1.4;
}

.lp-reasons__item img {
  grid-row: 1;
  grid-column: 1;
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-left: 0.25rem;
}

.lp-reasons__item h3 {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--lp-font-heading);
  font-size: 1.125rem;
  color: var(--lp-blue-mid);
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lp-reasons__item p {
  grid-row: 2;
  grid-column: 2;
  font-size: 1rem;
  color: var(--lp-text-body);
  margin: 0.5rem 0 0;
  line-height: 1.65;
}


/* ============================================================
   LEAD FORM
   ============================================================ */
.lp-form {
  background-color: var(--lp-blue-dark);
}
.lp-form__inner {
  padding: 2rem 2.5rem;
}
.lp-form__inner h2 {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.375rem, 3vw, 2rem);
  color: var(--lp-white);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.lp-form__subtext {
  font-family: var(--lp-font-body);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}
/* CF7 form overrides inside the landing page form section */
.lp-form .wpcf7-form input[type="text"],
.lp-form .wpcf7-form input[type="email"],
.lp-form .wpcf7-form input[type="tel"],
.lp-form .wpcf7-form select,
.lp-form .wpcf7-form textarea {
  background-color: var(--lp-white);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  color: var(--lp-text-dark);
  font-family: var(--lp-font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  width: 100%;
  margin-top: 0;
  transition: border-color 0.2s ease;
}
.lp-form .wpcf7-form input:focus,
.lp-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--lp-blue-mid);
  box-shadow: 0 0 0 3px rgba(28, 61, 129, 0.2);
}
/* Two-column field rows */
.lp-form .form-row {
  display: flex;
  gap: 1rem;
}
.lp-form .form-row > span {
  flex: 1;
}
/* Radio button row */
.lp-form .form-radio-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.lp-form .form-radio-row .radio-label {
  color: var(--lp-white);
  font-family: var(--lp-font-body);
  font-size: 1rem;
  font-weight: 500;
}
.lp-form .form-radio-row .wpcf7-radio label {
  color: var(--lp-white);
  font-family: var(--lp-font-body);
  font-size: 1rem;
}
/* Responsive: stack fields on small screens */
@media (max-width: 600px) {
  .lp-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .lp-form__inner {
    padding: 1.5rem 1.25rem;
  }
}
/* Submit button */
.lp-form .wpcf7-form input[type="submit"] {
  background-color: var(--lp-orange);
  color: var(--lp-blue-dark);
  border: none;
  border-radius: 2rem;
  font-family: var(--lp-font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 2.5rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
.lp-form .wpcf7-form input[type="submit"] {
  background-color: var(--lp-orange);
  color: var(--lp-blue-dark);
  border: none;
  border-radius: 4px;
  font-family: var(--lp-font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 2.5rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

/* Make the inner wrapper a flex container so form + trust sit side by side at the bottom */
.lp-form__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
}
.lp-form__inner h2,
.lp-form__inner .lp-form__subtext {
  width: 100%;
}
.lp-form__inner .wpcf7 {
  flex: 1 1 auto;
}
.lp-form__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 0.875rem;
  padding: 0;
}
.lp-form__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--lp-font-body);
  font-size: 0.875rem;
}
.lp-form__trust img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .lp-form__trust {
    margin: 0;
  }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.lp-how {
  background-color: var(--lp-off-white);
}

.lp-how__inner {
  text-align: center;
}

.lp-how__inner h2 {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  color: var(--lp-text-dark);
  margin: 0 0 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-how__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

/* Connecting arrow line between steps — desktop only */
@media (min-width: 768px) {
  .lp-how__steps::before {
    content: "";
    position: absolute;
    top: 3rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      var(--lp-orange) 0,
      var(--lp-orange) 8px,
      transparent 8px,
      transparent 16px
    );
    z-index: 0;
  }
}

.lp-how__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
  flex-shrink: 0;
}

.lp-how__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--lp-blue-dark);
  border: 3px solid var(--lp-orange);
  color: var(--lp-white);
  font-family: var(--lp-font-heavy);
  font-size: 1.375rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.lp-how__step img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.lp-how__step p {
  font-size: 0.9rem;
  color: var(--lp-text-body);
  line-height: 1.5;
  margin: 0;
}

.lp-how__phone {
  font-family: var(--lp-font-heading);
  font-size: 1rem;
  color: var(--lp-text-dark);
  margin: 0.5rem 0 0;
}

.lp-how__phone a {
  color: var(--lp-blue-mid);
  text-decoration: none;
  font-weight: 500;
}

.lp-how__phone a:hover {
  text-decoration: underline;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.lp-testimonials {
  background-color: var(--lp-blue-dark);
}

.lp-testimonials__inner {
  text-align: center;
}

.lp-testimonials__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.lp-testimonials__item {
  margin: 0;
  padding: 0;
  border: none;
}

.lp-testimonials__item p {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--lp-white);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  font-style: italic;
}

.lp-testimonials__item p::before {
  content: "\201C";
}

.lp-testimonials__item p::after {
  content: "\201D";
}

.lp-testimonials__item cite {
  display: block;
  font-family: var(--lp-font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
}

.lp-testimonials__item cite span {
  color: rgba(255, 255, 255, 0.5);
}

.lp-testimonials__inner .lp-btn {
  margin-top: 2.5rem;
}


/* ============================================================
   FAQ
   ============================================================ */
.lp-faq {
  background-color: var(--lp-white);
}

.lp-faq__inner h2 {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  color: var(--lp-text-dark);
  margin: 0 0 2.5rem;
  line-height: 1.2;
  text-align: center;
}

.lp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 2.5rem;
  padding: 0;
}

.lp-faq__item {
  border-bottom: 1px solid var(--lp-border);
  padding: 1.25rem 0;
}

.lp-faq__item:first-child {
  border-top: 1px solid var(--lp-border);
}

.lp-faq__item dt {
  font-family: var(--lp-font-heading);
  font-size: 1rem;
  color: var(--lp-blue-mid);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.lp-faq__item dd {
  font-family: var(--lp-font-body);
  font-size: 0.9375rem;
  color: var(--lp-text-body);
  margin: 0;
  line-height: 1.65;
}

.lp-faq__inner > .lp-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}


/* ============================================================
   CLOSING CTA
   ============================================================ */
.lp-closing-cta {
  background-color: var(--lp-off-white);
  border-top: 1px solid var(--lp-border);
}

.lp-closing-cta__inner {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.lp-closing-cta h2 {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.375rem, 3vw, 2.25rem);
  color: var(--lp-text-dark);
  margin: 0 0 2rem;
  line-height: 1.2;
}

.lp-closing-cta .lp-btn {
  font-size: 1.125rem;
  padding: 1rem 3rem;
}

.lp-closing-cta__phone {
  font-family: var(--lp-font-body);
  font-size: 0.9rem;
  color: var(--lp-text-body);
  margin: 1.25rem 0 0;
}

.lp-closing-cta__phone a {
  color: var(--lp-blue-mid);
  text-decoration: none;
  font-weight: 500;
}

.lp-closing-cta__phone a:hover {
  text-decoration: underline;
}


/* ============================================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --lp-section-pad: 3.5rem 1.25rem;
  }

  .lp-hero {
    min-height: 380px;
    background-position: right center;
  }

  .lp-hero__inner {
    max-width: 100%;
  }

  .lp-trust-bar__item + .lp-trust-bar__item::before {
    display: none;
  }

  .lp-trust-bar__list {
    gap: 0.5rem 1rem;
  }

  .lp-how__steps {
    gap: 2rem 1rem;
  }

  .lp-how__step {
    width: calc(50% - 1rem);
  }

  .lp-testimonials__item p {
    font-size: 1.125rem;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --lp-section-pad: 2.5rem 1rem;
  }

  .lp-hero {
    min-height: 300px;
    align-items: flex-end;
    padding-bottom: 2rem;
  }

  .lp-hero::before {
    background: rgba(0, 29, 89, 0.82);
  }

  .lp-btn {
    width: 100%;
    text-align: center;
  }

  .lp-trust-bar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .lp-trust-bar__item + .lp-trust-bar__item::before {
    display: none;
  }

  .lp-how__step {
    width: 100%;
  }

  .lp-form__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .lp-faq__inner > .lp-btn {
    width: 100%;
    text-align: center;
  }

  .lp-closing-cta .lp-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   SPECIFICITY FIXES
   Override theme global styles bleeding into landing page
   ============================================================ */

/* Hero heading color — overrides theme h1 blue */
.landing-page-wrapper .lp-hero h1 {
  color: #001020 !important;
  text-shadow: none !important;
}

.landing-page-wrapper .lp-hero p {
  color: #222222 !important;
  text-shadow: none !important;
}

/* CTA button — override theme link styles */
.landing-page-wrapper .lp-btn,
.landing-page-wrapper .lp-btn:visited,
.landing-page-wrapper .lp-btn:link {
  display: inline-block !important;
  font-family: "Futura Md BT", Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
  padding: 0.875rem 2rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2) !important;
}

.landing-page-wrapper .lp-btn--primary,
.landing-page-wrapper .lp-btn--primary:visited {
  background-color: #f4a623 !important;
  color: #001d59 !important;
}

.landing-page-wrapper .lp-btn--primary:hover {
  background-color: #e8951a !important;
  color: #001d59 !important;
  transform: translateY(-2px) !important;
}

.landing-page-wrapper .lp-btn--secondary,
.landing-page-wrapper .lp-btn--secondary:visited {
  background-color: #001d59 !important;
  color: #ffffff !important;
}

.landing-page-wrapper .lp-btn--secondary:hover {
  background-color: #1c3d81 !important;
  color: #ffffff !important;
}

/* Trust bar icon size cap */
.lp-trust-bar__item img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  object-fit: contain !important;
}

/* Reasons heading color */
.landing-page-wrapper .lp-reasons__inner h2 {
  color: #001f5f !important;
}

.landing-page-wrapper .lp-reasons__item h3 {
  color: #1c3d81 !important;
}

/* Section headings throughout — prevent theme blue from bleeding */
.landing-page-wrapper .lp-how__inner h2,
.landing-page-wrapper .lp-faq__inner h2,
.landing-page-wrapper .lp-closing-cta h2 {
  color: #001f5f !important;
}

.landing-page-wrapper .lp-form__inner h2,
.landing-page-wrapper .lp-testimonials__inner h2 {
  color: #ffffff !important;
}
/* ============================================================
   THEME WRAPPER OVERRIDES — REVISED
   Keep the 1040px boxed container but remove top margin gap
   ============================================================ */

/* Remove theme margin-top on site-main for landing pages */
.single-landing_page .site-main {
  margin-top: 0 !important;
}

/* Keep the boxed container width but allow landing page
   sections to handle their own inner max-width */
.single-landing_page .landing-page-wrapper {
  width: 100%;
  max-width: 100%;
  margin-left: -115px;
  margin-right: -115px;
  position: relative;
}
/* ============================================================
   HERO INNER ALIGNMENT FIX
   Align hero content left-edge with nav, not centered
   ============================================================ */
.lp-hero__inner {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.lp-hero h1 {
  max-width: 640px;
}

.lp-hero p {
  max-width: 580px;
}
/* ============================================================
   HERO ALIGNMENT FIX — FLUSH WITH NAV LEFT EDGE
   Container already provides the left offset, remove inner padding
   ============================================================ */
.lp-hero__inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.lp-trust-bar__inner,
.lp-reasons__inner,
.lp-form__inner,
.lp-how__inner,
.lp-testimonials__inner,
.lp-faq__inner,
.lp-closing-cta__inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
