/* LEXVICO | Approved cosmetic follow-up | 2026-10-24
   New images used exactly as approved. No changes to logos, approved original
   four banners, existing page wording, form HTML, link targets, JS or PHP. */

/* Replace the romance-scam phone illustration in the HOME service-card
   banner with the approved cinematic keyboard image. Keep card icon, label,
   destination and surrounding layout unchanged. */
body.lex-index.lex-refined .service-card.rose::before {
  background-image: linear-gradient(90deg,rgba(8,23,41,.13),rgba(54,28,49,.03)),
    url('../assets/revision3/digital-relationship-keyboard.png') !important;
  background-position: center 52% !important;
  background-size: cover !important;
}

/* Consulting: update ONLY the background photograph, replacing the version
   with the duplicate pen. Use the new approved single-pen composition. */
body.lex-consulting.lex-refined main > .consulting-hero > .hero-photo {
  background-image: url('../assets/revision3/consulting-hero-one-pen.png') !important;
  background-position: center center !important;
  background-size: cover !important;
}

/* Fees & Payment: a complete, edge-to-edge hero scene instead of a
   disembodied close crop of the founder's face. */
body.lex-fees_payment.lex-refined main > .hero > .hero-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url('../assets/revision3/fees-full-hero-office.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  filter: none !important;
}
body.lex-fees_payment.lex-refined main > .hero > .hero-overlay {
  background: linear-gradient(90deg,
     rgba(7,22,39,.97) 0%,rgba(7,22,39,.90) 28%,
     rgba(7,22,39,.65) 51%,rgba(7,22,39,.13) 80%,
     rgba(7,22,39,.04) 100%) !important;
}
body.lex-fees_payment.lex-refined main > .hero > .hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Readable FAQ questions, cards and expanded answers, without changing the
   accordion's JS or button structure. */
body.lex-faq.lex-refined .faq-section .accordion-trigger .question-text {
  font-size: clamp(27px, 2.2vw, 33px) !important;
  line-height: 1.23 !important;
  font-weight: 600 !important;
  color: #112641 !important;
}
body.lex-faq.lex-refined .faq-section .accordion-trigger {
  min-height: 94px !important;
  padding-block: 20px !important;
}
body.lex-faq.lex-refined .faq-section .accordion-panel p {
  font-size: 18px !important;
  line-height: 1.7 !important;
}
body.lex-faq.lex-refined .faq-section .accordion-panel.is-open {
  padding-bottom: 25px !important;
}

@media (max-width: 900px) {
  body.lex-consulting.lex-refined main > .consulting-hero > .hero-photo {
    background-position: 32% center !important;
  }
  body.lex-fees_payment.lex-refined main > .hero > .hero-photo {
    background-position: center center !important;
  }
  body.lex-fees_payment.lex-refined main > .hero > .hero-overlay {
    /* Mobile hero renders the image separately below the text. */
    display: none !important;
  }
}
@media (max-width: 620px) {
  body.lex-faq.lex-refined .faq-section .accordion-trigger .question-text {
    font-size: clamp(23px, 5vw, 27px) !important;
  }
  body.lex-faq.lex-refined .faq-section .accordion-panel p {
    font-size: 17px !important;
  }
}
