/* Legal Lead Firm – Homepage (Figma node 1-146) */

/* ── Team intro ── */
.llf-team-intro {
  padding-top: 120px;
  padding-bottom: 0;
}

.llf-team-intro .subtitle {
  margin-bottom: 16px;
}

.llf-team-intro h2 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  font-weight: 600;
  color: #213449;
  max-width: 520px;
}

.llf-team-intro__right p {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.16px;
  color: #7a7a7a;
  max-width: 560px;
  margin-bottom: 0;
}

.llf-team-grid-section {
  padding-top: 0;
  padding-bottom: 0;
}

.llf-team-grid {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Practice area accordion grid ── */
.llf-practice-area {
  background: #1b2534 !important;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.llf-practice-area .llf-section-head {
  margin-bottom: 48px;
}

.llf-practice-area .llf-section-head .subtitle {
  margin-bottom: 16px;
}

.llf-practice-area .llf-section-head h2 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  font-weight: 600;
  color: #fff;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.llf-pa-grid {
  display: flex;
  width: 100%;
  min-height: 420px;
  gap: 0;
}

.llf-pa-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.llf-pa-card.is-active {
  flex: 2.8 1 0;
}

.llf-pa-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.llf-pa-card:hover .llf-pa-card__bg,
.llf-pa-card.is-active .llf-pa-card__bg {
  transform: scale(1.05);
}

.llf-pa-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 37, 52, 0.15) 0%, rgba(27, 37, 52, 0.55) 55%, rgba(27, 37, 52, 0.92) 100%);
  transition: background 0.45s ease;
}

.llf-pa-card.is-active .llf-pa-card__overlay,
.llf-pa-card:hover .llf-pa-card__overlay {
  background: linear-gradient(180deg, rgba(27, 37, 52, 0.35) 0%, rgba(27, 37, 52, 0.72) 50%, rgba(27, 37, 52, 0.96) 100%);
}

.llf-pa-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.llf-pa-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 14px;
  opacity: 0.95;
}

.llf-pa-card__title {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0;
  white-space: nowrap;
}

.llf-pa-card__desc {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 12px 0 0;
  max-width: 420px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.1s, max-height 0.45s ease, margin 0.45s ease;
}

.llf-pa-card.is-active .llf-pa-card__desc,
.llf-pa-card:hover .llf-pa-card__desc {
  opacity: 1;
  max-height: 120px;
  margin-top: 12px;
}

/* ── Case studies header ── */
.llf-case-head {
  padding-top: 80px;
  padding-bottom: 40px;
}

.llf-case-head h2 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  font-weight: 600;
  color: #213449;
  max-width: 480px;
}

.llf-case-head .subtitle {
  margin-bottom: 16px;
}

.llf-case-head__desc {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.16px;
  color: #7a7a7a;
  margin-bottom: 0;
}

.llf-case-head .de-custom-nav .d-prev:before,
.llf-case-head .de-custom-nav .d-next:before {
  width: 48px;
  height: 48px;
  line-height: 42px;
  font-size: 18px;
  background: #213449;
  border-radius: 0;
  padding: 0;
}

/* ── Site logo image ── */
.llf-logo-img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
}

footer .llf-logo-img--footer {
  max-height: 36px;
}

header #logo .llf-logo-img {
  max-height: 40px;
}

/* ── Header (Figma node 1-628) ── */
header.llf-header {
  top: 0;
}

header.llf-header .de-flex {
  min-height: 80px;
  align-items: center;
}

header.llf-header .de-flex-col:last-child {
  flex-shrink: 0;
}

@media (min-width: 993px) {
  header.llf-header #mainmenu {
    display: flex;
    align-items: center;
    float: none;
    height: 80px;
  }

  header.llf-header #mainmenu>li {
    float: none;
    display: flex;
    align-items: center;
    margin-right: 32px;
  }

  header.llf-header #mainmenu>li:last-child {
    margin-right: 0;
  }

  header.llf-header #mainmenu>li>a.menu-item {
    padding-top: 0;
    padding-bottom: 0;
    height: 80px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  header.llf-header .menu_side_area #menu-btn {
    display: none !important;
  }
}

header.llf-header:not(.smaller) #mainmenu>li>a.menu-item {
  color: #ffffff;
}

header.llf-header:not(.smaller) #mainmenu>li>a.menu-item:hover,
header.llf-header:not(.smaller) #mainmenu>li>a.menu-item:focus {
  color: #e1b157;
}

header.smaller.scroll-light.llf-header #mainmenu>li>a.menu-item {
  color: #213449;
}

header.smaller.scroll-light.llf-header #mainmenu>li>a.menu-item:hover,
header.smaller.scroll-light.llf-header #mainmenu>li>a.menu-item:focus {
  color: #e1b157;
}

header.smaller.llf-header.scroll-light {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(33, 52, 73, 0.08);
}

/* ── Header CTA (Figma) ── */
header .llf-header-cta.btn-main {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.14px;
  border-radius: 4px;
  background-color: #e1b157;
  color: #213449;
  border: none;
  line-height: 1.2;
  white-space: nowrap;
}

header .llf-header-cta.btn-main:hover,
header .llf-header-cta.btn-main:focus {
  background-color: #d4a44a;
  color: #213449;
}

header.llf-header #mainmenu>li>a.menu-item {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.15px;
}

/* ── Hero (Figma) ── */
.llf-hero h1 {
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -1.28px;
  font-weight: 600;
  max-width: 680px;
}

/* ── Logo (Figma node 1-329) ── */
.llf-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.llf-logo__text {
  font-family: var(--body-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.52px;
  color: #ffffff;
}

.llf-logo__accent {
  font-family: var(--body-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.52px;
  color: #e1b157;
}

.llf-logo--footer .llf-logo__text {
  color: #ffffff;
}

header.smaller.scroll-light .llf-logo__text,
header.header-light .llf-logo__text {
  color: #213449;
}

header #logo .llf-logo {
  height: 80px;
  align-items: center;
}

/* ── CTA banner (Figma node 1-198) ── */
section.llf-cta-banner.text-light {
  background: #213449;
  margin: 100px auto 0;
  padding: 80px 0;
}

section.llf-cta-banner a.llf-cta-banner__btn {
  color: #213449;
}

.llf-cta-banner__inner {
  max-width: 820px;
  margin: 0 auto;
}

.llf-cta-banner__title {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.96px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.llf-cta-banner__text {
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.llf-cta-banner__btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.14px;
  line-height: 1;
  color: #213449;
  background: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.llf-cta-banner__btn:hover {
  opacity: 0.88;
  color: #213449;
}

/* ── Footer bottom – Figma node 1-360 ── */
footer .subfooter.llf-subfooter-bar {
  margin-top: 0 !important;
  padding: 0 !important;
  border-top: solid 1px rgba(255, 255, 255, 0.1);
  min-height: 72px;
  height: 72px;
  display: flex;
  align-items: center;
}

.llf-subfooter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
}

footer .llf-subfooter-sitemap {
  color: #fff;
  font-family: Onest, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.22px;
  text-decoration-line: underline !important;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

footer .llf-subfooter-sitemap:hover {
  color: #fff;
  opacity: 0.85;
}

.llf-subfooter-colab {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.llf-subfooter-colab img {
  display: block;
  width: auto;
  height: 20px;
}

/* ── Tablet ── */
@media (max-width: 1199px) {

  .llf-team-intro h2,
  .llf-practice-area .llf-section-head h2,
  .llf-case-head h2 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .llf-hero h1 {
    font-size: 52px;
  }

  .llf-pa-grid {
    min-height: 360px;
  }

  .llf-pa-card {
    min-height: 360px;
  }
}

/* ── Mobile ── */
@media (max-width: 991px) {
  .llf-team-intro {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .llf-team-intro h2,
  .llf-practice-area .llf-section-head h2,
  .llf-case-head h2 {
    font-size: 32px;
    letter-spacing: -0.64px;
    max-width: none;
  }

  .llf-hero h1 {
    font-size: 38px;
    letter-spacing: -0.76px;
  }

  .llf-pa-grid {
    flex-direction: column;
    min-height: auto;
  }

  .llf-pa-card,
  .llf-pa-card.is-active {
    flex: none;
    min-height: 280px;
    width: 100%;
  }

  .llf-pa-card__desc {
    opacity: 1;
    max-height: none;
    margin-top: 10px;
  }

  .llf-case-head {
    padding-top: 60px;
  }

  .llf-case-head__nav {
    margin-top: 24px;
  }

  .llf-cta-banner {
    padding: 60px 0;
  }

  .llf-cta-banner__title {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .llf-cta-banner__btn {
    margin-top: 24px;
  }

  header .llf-header-cta {
    display: none !important;
  }

  .llf-logo__text,
  .llf-logo__accent {
    font-size: 22px;
    letter-spacing: -0.44px;
  }

  header #logo .llf-logo {
    height: auto;
  }
}

section.llf-practice-area.text-light.section-dark.no-top {
  padding-top: 100px !important;
  padding-bottom: 0 !important;
}

/* ── Service page – practice area tabs ── */
.llf-pa-tabs__btn {
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.llf-pa-tabs__btn:hover,
.llf-pa-tabs__btn:focus {
  text-decoration: none;
}

/* style.css sets nav { height: 0 } below 992px for the header menu */
.llf-pa-tabs .llf-pa-tabs__nav {
  height: auto;
}

.llf-pa-tabs__btn:focus-visible {
  outline: 2px solid #e1b157;
  outline-offset: 2px;
}

.llf-pa-tabs__panel:not(.is-active) {
  display: none;
}

/* ── Contact Form 7 – match Figma contact form (node 1-943) ── */
.llf-contact-form {
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: var(--rounded-1, 16px);
  padding: 40px;
}

.llf-contact-form .wpcf7 {
  margin: 0;
}

.llf-contact-form .wpcf7-form,
.llf-contact-form #contact_form {
  margin: 0;
}

.llf-contact-form .wpcf7-form p {
  margin: 0;
  padding: 0;
}

.llf-contact-form .wpcf7-form .row.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  margin: 0;
}

.llf-contact-form .wpcf7-form .row.g-4>[class*="col-"] {
  margin-top: 0;
}

.llf-contact-form .wpcf7-form h5 {
  margin: 0 0 10px;
  font-family: var(--h5-font-family);
  font-size: 18px;
  font-weight: var(--heading-font-weight);
  line-height: 1.2;
  color: var(--heading-font-color, #000);
}

.llf-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.llf-contact-form .wpcf7-form-control:not(.wpcf7-submit) {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  box-shadow: none;
}

.llf-contact-form .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.llf-contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: 0;
  border-color: rgba(var(--primary-color-rgb), 0.35);
  box-shadow: 0 0 0 0.15rem rgba(var(--primary-color-rgb), 0.12);
}

.llf-contact-form .wpcf7-textarea {
  min-height: 100px;
  height: 100px;
  resize: vertical;
}

.llf-contact-form .wpcf7-submit.btn-main {
  display: inline-block;
  min-height: auto;
  padding: 4px 20px;
  font-family: var(--btn-font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  background: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.llf-contact-form .wpcf7-submit.btn-main:hover {
  background: var(--btn-hover-bg, var(--primary-color));
  color: #fff;
}

.llf-contact-form .wpcf7-not-valid-tip {
  display: none;
}

.llf-contact-form .wpcf7 form.invalid .wpcf7-response-output ul,
.llf-contact-form .wpcf7 form.unaccepted .wpcf7-response-output ul {
  display: none;
  margin: 0;
  padding: 0;
}

.llf-contact-form .wpcf7-spinner {
  margin-left: 12px;
  vertical-align: middle;
}

.llf-contact-form .wpcf7-response-output {
  display: none;
  margin: 0 0 20px;
  clear: both;
  padding: 20px;
  border-width: 1px;
  border-style: solid;
}

.llf-contact-form .wpcf7 form.sent .wpcf7-response-output {
  display: block;
  color: #96c346;
  background: rgba(150, 195, 70, 0.1);
  border-color: #96c346;
}

.llf-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.llf-contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.llf-contact-form .wpcf7 form.failed .wpcf7-response-output,
.llf-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.llf-contact-form .wpcf7 form.spam .wpcf7-response-output {
  display: block;
  color: #e7505a;
  background: rgba(231, 80, 90, 0.1);
  border-color: #e7505a;
}

.llf-contact-form .wpcf7 form .wpcf7-form-control.wpcf7-not-valid {
  border-color: #e7505a;
}

.llf-contact-form #submit {
  margin-top: 0;
}

.llf-subfooter-bar__inner a.llf-subfooter-colab p {
  color: white;
  font-size: 39.226px;
  font-style: normal;
  font-weight: 900;
  line-height: 55.348px;
  /* 141.1% */
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.subfooter.llf-subfooter-bar.light-sub-footer p {
  margin: 0;
}

.subfooter.llf-subfooter-bar.light-sub-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.subfooter.llf-subfooter-bar.light-sub-footer ul li {
  display: inline-block;
  margin-right: 15px;
}

.subfooter.llf-subfooter-bar.light-sub-footer {
  margin: 100px auto 0 !important;
}
.llf-contact-form .wpcf7-form h5 {
    margin: 20px auto;
}

div#submit {
    margin: 40px auto 0 !important;
}

div#submit input {
    padding: 10px 15px;
}
li#wpcf7-f15-o1-ve-your-name, li#wpcf7-f15-o1-ve-your-email, li#wpcf7-f15-o1-ve-your-phone, li#wpcf7-f15-o1-ve-your-message, .screen-reader-response  {
    display: none !important;
}

li#wpcf7-f15-o1-ve-your-email, li#wpcf7-f15-o1-ve-your-phone, li#wpcf7-f15-o1-ve-your-message .screen-reader-response {
    display: none !important;
}


.wpcf7-response-output {
    margin: 20px auto 0 !important;
}