.lca-home,
.lca-home *,
.lca-home ::before,
.lca-home ::after {
  box-sizing: border-box;
}

.lca-home {
  --lca-green: #12732e;
  --lca-green-bright: #19943c;
  --lca-text: #3d3d3d;
  --lca-page-width: 1410px;
  position: relative;
  left: 50%;
  width: var(--lca-viewport-width, 100vw);
  margin-left: calc(var(--lca-viewport-width, 100vw) / -2);
  overflow: hidden;
  background: #fff;
  color: var(--lca-text);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.lca-home img { display: block; max-width: 100%; height: auto; }
.lca-home a { color: inherit; text-decoration: none; }
.lca-home h1,
.lca-home h2,
.lca-home h3,
.lca-home h4,
.lca-home p,
.lca-home ul { margin-top: 0; }

.lca-home h1,
.lca-home h2,
.lca-home h3,
.lca-home h4 {
  color: var(--lca-green);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.lca-home__inner {
  width: min(100% - 40px, var(--lca-page-width));
  margin-inline: auto;
}

.lca-carousel {
  position: relative;
  height: 485px;
  overflow: hidden;
  background: #202820;
}

.lca-carousel__track,
.lca-slide { position: absolute; inset: 0; }

.lca-slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms, visibility 700ms;
}

.lca-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }

.lca-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: var(--lca-image-position, 50% 50%);
}

.lca-slide__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.13); }

.lca-slide__layout {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 72px, var(--lca-page-width));
  height: 100%;
  margin-inline: auto;
  align-items: var(--lca-y, flex-end);
  justify-content: var(--lca-x, flex-start);
  padding-block: 54px 72px;
}

.lca-slide__panel {
  width: min(760px, 82%);
  padding: 11px 10px 8px 20px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  animation: lca-rise 650ms ease both;
}

.lca-slide--compact .lca-slide__panel { width: min(510px, 40%); }
.lca-slide--center .lca-slide__panel { text-align: center; }

.lca-slide__title {
  margin-bottom: 13px !important;
  color: #fff !important;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.24 !important;
}

.lca-slide__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.lca-slide--center .lca-slide__actions { justify-content: center; }

.lca-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 5px 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 160ms, border-color 160ms;
}

.lca-button--primary { padding-inline: 40px; background: var(--lca-green); color: #fff !important; }
.lca-button--primary:hover,
.lca-button--primary:focus-visible { background: var(--lca-green-bright); }
.lca-button--outline { border-color: #fff; background: transparent; color: #fff !important; }
.lca-button--outline:hover,
.lca-button--outline:focus-visible { background: #fff; color: #333 !important; }

.lca-carousel__control {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 46px;
  height: 58px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: background-color 160ms, opacity 160ms;
}

.lca-carousel__control:hover,
.lca-carousel__control:focus-visible { background: var(--lca-green); opacity: 1; }
.lca-carousel__control--previous { left: 0; }
.lca-carousel__control--next { right: 0; }
.lca-carousel__control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

/* The white section now begins after the ticker, as it does on the original site. */
.lca-intro {
  position: relative;
  z-index: 5;
  width: min(100% - 40px, var(--lca-page-width));
  margin: 0 auto;
  background: #fff;
}

.lca-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.lca-intro__copy { padding: 48px 20px 28px; }
.lca-intro__copy h1 { margin-bottom: 16px; font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.lca-intro__copy p { margin-bottom: 0; font-size: 1.2rem; line-height: 1.35; }

.lca-membership {
  display: grid;
  grid-template-columns: minmax(165px, 40%) 1fr;
  align-items: end;
  padding: 0 20px;
}

/* Only the certificate rises into the ticker, recreating the original man's overlap. */
.lca-membership__image {
  position: relative;
  z-index: 6;
  width: min(100%, 250px);
  margin-inline: auto;
  transform: translateY(-50px);
}

.lca-membership__copy { align-self: center; padding: 18px 10px 28px 24px; }
.lca-membership__copy h2 {
  margin-bottom: 16px;
  color: #111;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.lca-membership__copy .lca-button { background: var(--lca-green); color: #fff !important; }

.lca-information { padding: 54px 0; background: linear-gradient(#d8e2db 0%, #fff 70%); }
.lca-information__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 84px);
}
.lca-information h3 { margin-bottom: 16px; font-size: 1.6rem; }
.lca-information p { margin-bottom: 1.1em; }
.lca-information p:last-child { margin-bottom: 0; }
.lca-information a { color: #515b4c; font-weight: 600; }
.lca-information a:hover,
.lca-information a:focus-visible,
.lca-footer a:hover,
.lca-footer a:focus-visible { color: #39bd62; }

.lca-footer { color: #efefef; }
.lca-footer__main { padding: 66px 0; background: #494949; }
.lca-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px;
}
.lca-footer__logo { width: min(70%, 220px); margin-bottom: 25px; }
.lca-footer__heading {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.lca-footer p,
.lca-footer li,
.lca-footer a { color: #efefef; font-size: 0.92rem; line-height: 1.55; }
.lca-footer__contact {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 15px;
}
.lca-footer__contact svg { width: 21px; max-height: 24px; margin-top: 2px; fill: #39bd62; }
.lca-footer__contact p { margin-bottom: 0; }
.lca-footer__links { margin: 0; padding: 0; list-style: none; }
.lca-footer__links li { position: relative; margin-bottom: 9px; padding-left: 18px; }
.lca-footer__links li::before {
  position: absolute;
  left: 0;
  color: #39bd62;
  content: "›";
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}
.lca-footer__partners { display: grid; gap: 15px; }
.lca-footer__partners img { width: 100%; max-width: 260px; border-radius: 2px; }
.lca-footer__base { background: #212121; }
.lca-footer__base-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px;
}
.lca-footer__base p { margin: 0; color: #d9d9d9; font-size: 0.82rem; }

@keyframes lca-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 849px) {
  .lca-slide__layout { width: min(100% - 56px, var(--lca-page-width)); }
  .lca-slide__panel,
  .lca-slide--compact .lca-slide__panel { width: min(620px, 82%); }
  .lca-membership__image { width: min(100%, 225px); transform: translateY(-38px); }
  .lca-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 649px) {
  .lca-home__inner,
  .lca-intro { width: min(100% - 30px, var(--lca-page-width)); }
  .lca-carousel { height: 490px; }
  .lca-slide__layout {
    width: calc(100% - 32px);
    align-items: flex-end;
    justify-content: flex-start;
    padding: 50px 22px 78px;
  }
  .lca-slide__panel,
  .lca-slide--compact .lca-slide__panel { width: 100%; padding: 12px 14px 11px; }
  .lca-slide__title { font-size: 1.35rem; }
  .lca-button,
  .lca-button--primary { width: 100%; padding-inline: 14px; text-align: center; }
  .lca-carousel__control {
    top: auto;
    bottom: 13px;
    width: 42px;
    height: 42px;
    transform: none;
    border-radius: 50%;
  }
  .lca-carousel__control--previous { left: calc(50% - 50px); }
  .lca-carousel__control--next { right: calc(50% - 50px); }
  .lca-intro__grid,
  .lca-information__grid,
  .lca-footer__grid { grid-template-columns: 1fr; }
  .lca-intro__copy { grid-row: 2; padding: 20px 5px 36px; }
  .lca-membership { grid-row: 1; grid-template-columns: minmax(130px, 42%) 1fr; padding: 0; }
  .lca-membership__image { width: min(100%, 190px); transform: translateY(-35px); }
  .lca-membership__copy { padding: 20px 0 26px 16px; }
  .lca-membership__copy .lca-button { width: auto; padding-inline: 20px; }
  .lca-information { padding: 40px 0 46px; }
  .lca-information__grid { gap: 32px; }
  .lca-footer__main { padding: 48px 0; }
  .lca-footer__grid { gap: 34px; }
  .lca-footer__base-inner { flex-direction: column; justify-content: center; padding-block: 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lca-slide,
  .lca-slide__panel,
  .lca-button,
  .lca-carousel__control { animation: none; transition: none; }
}
